forked from readthedocs/readthedocs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix display issues with project creation config page (readthedocs#10398)
This addresses some display bugs from commercial, where the nested order of elements was swapped and there are already conflicts between usage of `<code>` and `<pre>`. Instead, this reverts to my suggestion from review, and uses the Pygments wrapping element `div.highlight` to style code block content. This avoids conflicts between code/pre use and styling and provides a better looking border and padding for block content. This also survives the translation to the commercial styling better and doesn't affect any other case in the UI where `<code>` is used to style inline content instead of block content. There is a required PR on commercial too.
- Loading branch information
Showing
2 changed files
with
20 additions
and
18 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