forked from pjanik/orion.client
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Improve styling of code elements (for benefit of README.md backtick (…
…code) markup) Fix Bug420462 --Signed-off-by: Adrian Aichner <adrian.aichner@gmail.com>
- Loading branch information
Showing
1 changed file
with
8 additions
and
0 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 |
|---|---|---|
|
|
@@ -49,6 +49,14 @@ button::-moz-focus-inner { | |
| padding: 0; | ||
| } | ||
|
|
||
| pre>code { | ||
| display: inline-block; | ||
This comment has been minimized.
Sorry, something went wrong. |
||
| } | ||
|
|
||
| code { | ||
| border: 1px solid; | ||
This comment has been minimized.
Sorry, something went wrong.
mamacdon
|
||
| } | ||
|
|
||
| .navlink { | ||
| display: inline-block; | ||
| padding: 2px; | ||
|
|
||
1 comment
on commit 661c2f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, 2 general things that I would like to see changed:
- Prefix the 2 selectors with
.orionMarkdown. (We want these styles to target only the Orion Markdown viewer.) - Move the 2 selectors to somewhere near lines 900-930 of ide.css, so they are near the other Markdown-related CSS rules.
I would prefer
display:blockhere, to make the border occupy the entire width of the container (similar to GitHub's styling of fenced code blocks).