0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Use flexbox for post settings cog & publish button

Closes #4208

- Removes `min-width` & `max-width` from `.publish-bar-actions`
- Uses flexbox to correctly handle dynamic size (due to font size and text content of button)
This commit is contained in:
Paul Adam Davis 2014-10-12 19:31:14 +01:00
parent ce46248e79
commit 28d1273c96

View file

@ -452,8 +452,6 @@ body.zen {
}
.splitbtn {
margin-top: -2px;
.btn {
border-top: rgba(255,255,255,0.3) 1px solid;
}
@ -559,6 +557,10 @@ body.zen {
}
#entry-actions {
display: flex;
justify-content: flex-end;
align-content: center;
align-items: center;
margin-right: 6px;
position: relative;
.dropdown {
@ -672,10 +674,9 @@ body.zen {
}
.publish-bar-actions {
flex: 0 1 auto;
display: flex;
flex: 1 0 auto;
align-self: auto;
min-width: 174px;
max-width: 174px;
text-align: right;
}