-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inconsistent complementary header styles (#61331)
* Use compact buttons, proper gap * Reuse existing class for heading * Remove unused class * Remove unnecessary negative margin top * Use small variant for close in complementary area * Remove unused styles * Emulate 'compact' button size, as Dropdown does not support it * Reduce padding right to account for close buttons holistically * Remove targeted padding right * Add default gap between controls in complementary header * Remove negative margin override, no longer necessary * Only make the close icon small * Use same font weight as tabs for complementary area * Use compact pin/unpin button * Revert "Reuse existing class for heading" This reverts commit e231cb5. * Add back the style * Pass toggleProps compact size * Tweak inline comment. Co-authored-by: Marin Atanasov <[email protected]> * Remove unnecessary - margin top --------- Co-authored-by: richtabor <[email protected]> Co-authored-by: stokesman <[email protected]> Co-authored-by: jasmussen <[email protected]> Co-authored-by: t-hamano <[email protected]> Co-authored-by: youknowriad <[email protected]> Co-authored-by: tyxla <[email protected]>
- Loading branch information
1 parent
41c6b1a
commit 61659a3
Showing
8 changed files
with
16 additions
and
27 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -12,7 +12,3 @@ | |
} | ||
} | ||
} | ||
|
||
.edit-post-sidebar__panel { | ||
margin-top: -1px; | ||
} |
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
1 change: 0 additions & 1 deletion
1
packages/edit-site/src/components/sidebar-edit-mode/settings-header/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
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 |
---|---|---|
|
@@ -39,6 +39,7 @@ | |
|
||
h2 { | ||
font-size: $default-font-size; | ||
font-weight: 500; | ||
color: $gray-900; | ||
margin-bottom: 1.5em; | ||
} | ||
|