mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #11247 from overleaf/mj-toolbar-overflow
[cm6+rt] Wrap formatting buttons if editor is too narrow GitOrigin-RevId: d1b234c721f4bed67f1da567b90139f0c95895f0
This commit is contained in:
parent
f94a325288
commit
778aa45e96
1 changed files with 11 additions and 0 deletions
|
@ -169,6 +169,17 @@
|
|||
border-radius: @btn-border-radius-base 0 0 @btn-border-radius-base;
|
||||
}
|
||||
}
|
||||
|
||||
&.toolbar-wrap {
|
||||
min-height: @editor-toolbar-height;
|
||||
height: unset; // Allow to grow if buttons wrap
|
||||
flex-wrap: wrap;
|
||||
|
||||
.formatting-buttons {
|
||||
flex-grow: 1 0 auto;
|
||||
width: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.loading-screen {
|
||||
|
|
Loading…
Reference in a new issue