Skip to content

Commit 03f2832

Browse files
committed
👌 hide header on assets list
1 parent 69acd3a commit 03f2832

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/modules/Mobile/MobileDashboardView.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import Loader from '../App/components/loader';
2424

2525
const EXAMPLE_USERNAME = 'p5';
2626

27+
// @ghalestrilo 08/13/2020: I'm sorry
2728
const ContentWrapper = styled(Content)`
2829
table {
2930
table-layout: fixed;
@@ -85,6 +86,7 @@ const ContentWrapper = styled(Content)`
8586
8687
thead tr {
8788
grid-template-columns: repeat(${props => props.fieldcount}, 1fr) 0fr;
89+
${props => props.noheader && 'display: none;'}
8890
}
8991
9092
tbody tr {
@@ -187,7 +189,7 @@ const MobileDashboard = ({ params, location }) => {
187189
</Header>
188190

189191

190-
<ContentWrapper slimheader fieldcount={panel === Tabs[1] ? 4 : 3}>
192+
<ContentWrapper slimheader fieldcount={panel === Tabs[1] ? 4 : 3} noheader={panel === Tabs[2]}>
191193
<Subheader>
192194
{panel === Tabs[0] && <SketchSearchbar />}
193195
{panel === Tabs[1] && <CollectionSearchbar />}

0 commit comments

Comments
 (0)