mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-27 01:57:53 +00:00
Fix alignment of icons in Layout menu (#7889)
GitOrigin-RevId: 5187c42304d85f22ae7baefe7b7bcf5eed829805
This commit is contained in:
parent
54d66a8e09
commit
e689017c3c
2 changed files with 8 additions and 5 deletions
|
@ -117,7 +117,7 @@ function LayoutDropdownButton() {
|
||||||
view={view}
|
view={view}
|
||||||
detachRole={detachRole}
|
detachRole={detachRole}
|
||||||
/>
|
/>
|
||||||
<Icon type="columns" />
|
<Icon type="columns" fw />
|
||||||
{t('editor_and_pdf')}
|
{t('editor_and_pdf')}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
|
||||||
|
@ -131,7 +131,9 @@ function LayoutDropdownButton() {
|
||||||
view={view}
|
view={view}
|
||||||
detachRole={detachRole}
|
detachRole={detachRole}
|
||||||
/>
|
/>
|
||||||
<IconEditorOnly />
|
<i className="fa fa-fw">
|
||||||
|
<IconEditorOnly />
|
||||||
|
</i>
|
||||||
<span>
|
<span>
|
||||||
<Trans
|
<Trans
|
||||||
i18nKey="editor_only_hide_pdf"
|
i18nKey="editor_only_hide_pdf"
|
||||||
|
@ -152,7 +154,9 @@ function LayoutDropdownButton() {
|
||||||
view={view}
|
view={view}
|
||||||
detachRole={detachRole}
|
detachRole={detachRole}
|
||||||
/>
|
/>
|
||||||
<IconPdfOnly />
|
<i className="fa fa-fw">
|
||||||
|
<IconPdfOnly />
|
||||||
|
</i>
|
||||||
<span>
|
<span>
|
||||||
<Trans
|
<Trans
|
||||||
i18nKey="pdf_only_hide_editor"
|
i18nKey="pdf_only_hide_editor"
|
||||||
|
|
|
@ -179,8 +179,7 @@
|
||||||
}
|
}
|
||||||
#layout-dropdown-list {
|
#layout-dropdown-list {
|
||||||
a {
|
a {
|
||||||
i,
|
i {
|
||||||
svg {
|
|
||||||
margin-right: @margin-xs;
|
margin-right: @margin-xs;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue