mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #34479 from overleaf/mj-toolbar-border
[web] Hide toolbar border when tabs are enabled GitOrigin-RevId: 58a33980006d1bc148db16d864fc0547d9c5d421
This commit is contained in:
committed by
Copybot
parent
7096b0f8a3
commit
481a0b1da9
@@ -181,6 +181,11 @@ const Toolbar = memo(function Toolbar() {
|
||||
id="ol-cm-toolbar-wrapper"
|
||||
className={classNames('ol-cm-toolbar-wrapper', {
|
||||
'ol-cm-toolbar-wrapper-indented': showReviewPanelHeader,
|
||||
// The border is only needed when the header is flush with the
|
||||
// toolbar, which is the case when tabs are disabled and the review
|
||||
// panel is shown
|
||||
'ol-cm-toolbar-wrapper-needs-border':
|
||||
showReviewPanelHeader && !tabsVisible,
|
||||
})}
|
||||
>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user