Skip to content

Commit

Permalink
Use flexbox for post settings cog & publish button
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
PaulAdamDavis committed Oct 12, 2014
1 parent ce46248 commit 28d1273
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions core/client/assets/sass/layouts/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,6 @@ body.zen {
}

.splitbtn {
margin-top: -2px;

.btn {
border-top: rgba(255,255,255,0.3) 1px solid;
}
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 28d1273

Please sign in to comment.