mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
Switched PSM to popover on smaller screens
refs https://github.com/TryGhost/Team/issues/840 - first pass at CSS-only PSM popover behaviour on screens <1024px
This commit is contained in:
parent
73d4ac8a26
commit
f09af344ed
@ -394,6 +394,19 @@
|
|||||||
min-width: 501px;
|
min-width: 501px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
.settings-menu-container-labs {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
.settings-menu-container-labs {
|
||||||
|
padding-bottom: 64px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.settings-menu-toggle-labs {
|
.settings-menu-toggle-labs {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 31px;
|
top: 31px;
|
||||||
@ -473,4 +486,4 @@
|
|||||||
|
|
||||||
.gh-publishmenu-labs {
|
.gh-publishmenu-labs {
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
}
|
}
|
||||||
|
@ -297,6 +297,12 @@
|
|||||||
max-width: calc(100vw - var(--editor-sidebar-width))
|
max-width: calc(100vw - var(--editor-sidebar-width))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
.gh-editor {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.gh-editor-header {
|
.gh-editor-header {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user