Skip to content

Commit d452ebc

Browse files
committed
💄 update styling so that it affects assets panel
1 parent a3a1834 commit d452ebc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

client/modules/Mobile/MobileDashboardView.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,24 @@ const ContentWrapper = styled(Content)`
3333
3434
thead th { padding-left: 0; }
3535
36-
thead th:not(:first-child), .sketches-table__row td {
36+
thead th:not(:first-child), tbody td {
3737
width: ${remSize(54)};
3838
}
3939
4040
tbody th { font-weight: bold; };
4141
42-
.sketches-table__row th {
42+
tbody th {
4343
font-size: ${remSize(12)};
4444
width: 100%;
4545
padding-right: ${remSize(12)}
4646
};
4747
48-
.sketches-table__row td {
48+
tbody td {
4949
text-align: center;
5050
}
5151
5252
.sketch-list__sort-button { padding: 0 }
53-
.sketches-table__row {
53+
tbody {
5454
height: ${remSize(48)};
5555
}
5656
@@ -130,7 +130,7 @@ const MobileDashboard = ({ params, location }) => {
130130

131131
<ContentWrapper slimheader>
132132
<Subheader>
133-
{isOwner(user, params) && <SubheaderButton to={getCreatePathname(panel, username)}>new</SubheaderButton>}
133+
{isOwner(user, params) && (panel !== Tabs[2]) && <SubheaderButton to={getCreatePathname(panel, username)}>new</SubheaderButton>}
134134
{panel === Tabs[0] && <SketchSearchbar />}
135135
{panel === Tabs[1] && <CollectionSearchbar />}
136136
</Subheader>

0 commit comments

Comments
 (0)