mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #13173 from overleaf/td-history-menu-jump
History migration: Remove initial jump on displaying menu and line up menu items nicely GitOrigin-RevId: f04c01565aa9ea128e87543fa7108d7fb0ae8657
This commit is contained in:
parent
ccacd4cab7
commit
142cfb51d9
2 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,7 @@ function CompareItems({
|
||||||
}}
|
}}
|
||||||
closeDropdown={closeDropdown}
|
closeDropdown={closeDropdown}
|
||||||
text={t('history_compare_from_this_version')}
|
text={t('history_compare_from_this_version')}
|
||||||
icon={<MaterialIcon type="line_start_circle" />}
|
icon={<MaterialIcon type="line_start_circle" className="fa-fw" />}
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
{showCompareToThis ? (
|
{showCompareToThis ? (
|
||||||
|
@ -62,7 +62,7 @@ function CompareItems({
|
||||||
}}
|
}}
|
||||||
closeDropdown={closeDropdown}
|
closeDropdown={closeDropdown}
|
||||||
text={t('history_compare_up_to_this_version')}
|
text={t('history_compare_up_to_this_version')}
|
||||||
icon={<MaterialIcon type="line_end_circle" />}
|
icon={<MaterialIcon type="line_end_circle" className="fa-fw" />}
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
</>
|
</>
|
||||||
|
|
|
@ -334,6 +334,7 @@ history-root {
|
||||||
|
|
||||||
span.material-symbols-rounded {
|
span.material-symbols-rounded {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue