Skip to content

Commit

Permalink
Editor - moved word count to be static and full-width
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelArestad committed Nov 20, 2015
1 parent fa276d0 commit 85b4faf
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions client/post-editor/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.is-section-post .wp-primary {
// We don't need the space for a sidebar
margin-left: 0;
padding-bottom: 0;

// Lets go full width on smaller screens
@include breakpoint( "<660px" ) {
Expand Down Expand Up @@ -334,27 +335,14 @@
}

.post-editor__word-count-wrapper {
position: fixed;
bottom: 0;
left: auto;
right: auto;

box-sizing: border-box;
width: 100%;

@include clear-fix;
border-top: 1px solid lighten( $gray, 30% );
background-color: $white;
font-size: 11px;
line-height: 18px;

@include breakpoint( ">660px" ) {
width: 683px; // TODO ???
}

& .editor-word-count {
float: right;
border-top: 1px solid lighten( $gray, 20% );
border-left: 1px solid lighten( $gray, 20% );
border-radius: 4px 0;
background-color: rgba( $white, 0.92 );
color: $gray;
text-transform: uppercase;
padding: 8px;
Expand Down

0 comments on commit 85b4faf

Please sign in to comment.