-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document Settings: Make Post Format, Slug and Author fields fill the …
…sidebar (#42146) * Make Post Format, Slug and Author fields fill the sidebar width * Fix post slug onChange handler * Remove unnecessary withInstanceId
- Loading branch information
1 parent
0933055
commit b452a86
Showing
11 changed files
with
46 additions
and
71 deletions.
There are no files selected for viewing
14 changes: 4 additions & 10 deletions
14
packages/edit-post/src/components/sidebar/post-author/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
.editor-post-author__select { | ||
margin: -5px 0; | ||
|
||
// Set the width of the author select box in IE11 to prevent it overflowing | ||
// outside of the container because of IE11 flexbox bugs. | ||
// We reset it to `width: auto;` for non-IE11 browsers. | ||
width: 100%; | ||
@supports (position: sticky) { | ||
width: auto; | ||
} | ||
.edit-post-post-author { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: stretch; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/edit-post/src/components/sidebar/post-format/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.edit-post-post-format { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: stretch; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
packages/edit-post/src/components/sidebar/post-slug/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.editor-post-slug__input { | ||
margin: -5px 0; | ||
padding: 2px; | ||
.edit-post-post-slug { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: stretch; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,3 @@ | ||
.editor-post-format { | ||
flex-direction: column; | ||
align-items: stretch; | ||
width: 100%; | ||
} | ||
|
||
.editor-post-format__content { | ||
display: inline-flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
width: 100%; | ||
} | ||
|
||
.editor-post-format__suggestion { | ||
padding: $grid-unit-15 * 0.5; | ||
text-align: right; | ||
font-size: $default-font-size; | ||
[class].editor-post-format__suggestion { | ||
margin: $grid-unit-05 0 0 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters