mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 09:52:09 +03:00
Merge pull request #5442 from JohnONolan/noposts-fix
Fixes alignment bug on content management empty state
This commit is contained in:
commit
4b90c3c308
@ -238,36 +238,23 @@
|
||||
.no-posts-box {
|
||||
position: relative;
|
||||
z-index: 600;
|
||||
display: table;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
height: 90%;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.no-posts-box {
|
||||
position: fixed;
|
||||
top: 45%;
|
||||
left: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.no-posts-box .no-posts {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.no-posts-box .no-posts {
|
||||
position: relative;
|
||||
left: -50%;
|
||||
display: block;
|
||||
}
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.no-posts-box .no-posts h3 {
|
||||
color: var(--brown);
|
||||
margin-bottom: 20px;
|
||||
color: var(--midgrey);
|
||||
font-size: 2em;
|
||||
font-weight: 200;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user