Merge pull request #9842 from overleaf/jel-dash-filter-layout

[web] Dash filter margin handling

GitOrigin-RevId: bfd6b3e43231a28fe76aa5255b97a6e222500d62
This commit is contained in:
Jessica Lawshe 2022-10-06 09:37:52 -05:00 committed by Copybot
parent 6f007a9703
commit 0bf147b84c
2 changed files with 10 additions and 12 deletions

View file

@ -30,15 +30,13 @@ export default function SidebarFilters() {
const { t } = useTranslation()
return (
<div className="row-spaced ng-scope">
<ul className="list-unstyled folders-menu">
<SidebarFilter filter="all" text={t('all_projects')} />
<SidebarFilter filter="owned" text={t('your_projects')} />
<SidebarFilter filter="shared" text={t('shared_with_you')} />
<SidebarFilter filter="archived" text={t('archived_projects')} />
<SidebarFilter filter="trashed" text={t('trashed_projects')} />
<TagsList />
</ul>
</div>
<ul className="list-unstyled project-list-filters">
<SidebarFilter filter="all" text={t('all_projects')} />
<SidebarFilter filter="owned" text={t('your_projects')} />
<SidebarFilter filter="shared" text={t('shared_with_you')} />
<SidebarFilter filter="archived" text={t('archived_projects')} />
<SidebarFilter filter="trashed" text={t('trashed_projects')} />
<TagsList />
</ul>
)
}

View file

@ -73,8 +73,8 @@
padding: @content-margin-vertical @grid-gutter-width / 2;
}
ul.folders-menu {
margin: @folders-menu-margin;
ul.project-list-filters {
margin: @margin-sm @folders-menu-margin;
.subdued {
color: @gray-light;