-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chapters and ToC: Internal scroll (#469)
* Adjust content layout for internally scroll ToC * Wrap chapter list with sidebar container * Improve sidebar descriptions * Remove space from top of chapter list * Increase space at bottom of single page * Adjust sidebar margins * Add breakpoint config for chapter list sidebar container * Increase sidebar width to allow for custom scrollbars
- Loading branch information
1 parent
af53a6c
commit f44d128
Showing
6 changed files
with
35 additions
and
41 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
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
28 changes: 5 additions & 23 deletions
28
source/wp-content/themes/wporg-developer-2023/src/code-comment-form/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,26 +1,8 @@ | ||
.wp-block-wporg-code-reference-comment-form p { | ||
margin-block-start: var(--wp--style--block-gap); | ||
margin-block-end: var(--wp--style--block-gap); | ||
} | ||
|
||
.wp-block-wporg-code-reference-comment-form-content { | ||
display: flex; | ||
flex-direction: column; | ||
max-width: var(--wp--style--global--content-size); | ||
|
||
@media screen and (min-width: 1200px) { | ||
max-width: unset; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
gap: var(--wp--preset--spacing--40); | ||
.wp-block-wporg-code-reference-comment-form { | ||
padding-bottom: var(--wp--style--block-gap); | ||
|
||
.comment-respond { | ||
min-width: var(--wp--style--global--content-size); | ||
} | ||
|
||
.comment-rules { | ||
padding-top: var(--wp--preset--spacing--30); | ||
} | ||
p { | ||
margin-block-start: var(--wp--style--block-gap); | ||
margin-block-end: var(--wp--style--block-gap); | ||
} | ||
} | ||
|
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