Skip to content

Commit

Permalink
Revert "Default to content-box box-sizing for the metabox area." (#5569)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored Mar 12, 2018
1 parent 4e42aff commit 37ccb55
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 16 deletions.
1 change: 0 additions & 1 deletion components/form-toggle/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ $toggle-border-width: 2px;
border: 2px solid $dark-gray-500;
background: $white;
transition: 0.1s transform ease;
box-sizing: border-box;
}

&__input:focus {
Expand Down
1 change: 0 additions & 1 deletion components/menu-items/style.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.components-menu-items__group {
width: 100%;
padding: 10px;
box-sizing: border-box;
}

.components-menu-items__group-label {
Expand Down
1 change: 0 additions & 1 deletion components/panel/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
.components-panel__body {
border-top: 1px solid $light-gray-500;
border-bottom: 1px solid $light-gray-500;
box-sizing: border-box;

h3 {
margin: 0 0 .5em 0;
Expand Down
4 changes: 4 additions & 0 deletions edit-post/assets/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ body.gutenberg-editor-page {
}

.gutenberg {
* {
box-sizing: border-box;
}

select {
font-size: $default-font-size;
color: $dark-gray-500;
Expand Down
1 change: 0 additions & 1 deletion edit-post/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
z-index: z-index( '.edit-post-header' );
left: 0;
right: 0;
box-sizing: border-box;

// mobile edgecase for toolbar
top: 0;
Expand Down
1 change: 0 additions & 1 deletion edit-post/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

.edit-post-layout {
position: relative;
box-sizing: border-box;

.components-notice-list {
position: sticky;
Expand Down
1 change: 0 additions & 1 deletion edit-post/components/sidebar/last-revision/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@

.editor-post-last-revision__title {
padding: #{ $panel-padding - 3px } $panel-padding; // subtract extra height of dashicon
box-sizing: border-box;
}
1 change: 0 additions & 1 deletion edit-post/components/sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
color: $dark-gray-500;
height: 100vh;
overflow: hidden;
box-sizing: border-box;

@include break-small() {
top: $admin-bar-height-big + $header-height;
Expand Down
4 changes: 0 additions & 4 deletions edit-post/components/text-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
padding-right: calc( 50% - #{ $text-editor-max-width / 2 } );
}

* {
box-sizing: border-box;
}

.edit-post-post-text-editor__toolbar {
width: 100%;
max-width: $text-editor-max-width;
Expand Down
4 changes: 0 additions & 4 deletions edit-post/components/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
& ol {
list-style-type: decimal;
}

* {
box-sizing: border-box;
}
}

.edit-post-visual-editor .editor-block-list__block {
Expand Down
1 change: 0 additions & 1 deletion editor/components/block-inspector/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
margin-right: 10px;
height: 36px;
width: 36px;
box-sizing: border-box;
}

.editor-block-inspector__card-content {
Expand Down

0 comments on commit 37ccb55

Please sign in to comment.