mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1424 from sharelatex/as-fix-overlapping-toolbar
Fix overlapping toolbar GitOrigin-RevId: 0b901ddb2d52024aee0e4151180bcbc2223a3181
This commit is contained in:
parent
b311f997aa
commit
87eb794ccc
1 changed files with 14 additions and 6 deletions
|
@ -111,14 +111,22 @@
|
|||
}
|
||||
|
||||
.toolbar-center {
|
||||
width: 300px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
margin-left: -150px;
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
// At small screen sizes, center relative to the left menu and right buttons
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
// At large screen sizes, center relative to the viewport
|
||||
@media (min-width: @screen-lg-min) {
|
||||
width: 300px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
margin-left: -150px;
|
||||
}
|
||||
}
|
||||
|
||||
&.toolbar-header {
|
||||
|
@ -171,7 +179,7 @@
|
|||
vertical-align: middle;
|
||||
text-align: left;
|
||||
|
||||
@media (min-width: @screen-sm-min) {
|
||||
@media (min-width: @screen-md-min) {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue