-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a generic markup class to display externally rendered files and diffs #12261
Changes from all commits
4919bf6
b5d5537
273f6b0
5794c70
67b494d
e6f256c
82936c5
66d6337
29a2f09
dabed52
2bef1fe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.markdown:not(code) { | ||
.markup:not(code) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why does it need a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have to agree with @silverwind here. Why is there a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually I think this is existing baggage with the |
||
overflow: hidden; | ||
font-size: 16px; | ||
line-height: 1.6 !important; | ||
|
@@ -473,6 +473,31 @@ | |
box-shadow: inset 0 -1px 0 var(--color-secondary); | ||
} | ||
|
||
.csv-data td, | ||
.csv-data th { | ||
padding: 5px; | ||
overflow: hidden; | ||
font-size: 12px; | ||
line-height: 1; | ||
text-align: left; | ||
white-space: nowrap; | ||
} | ||
|
||
.csv-data .blob-num { | ||
padding: 10px 8px 9px; | ||
text-align: right; | ||
border: 0; | ||
} | ||
|
||
.csv-data tr { | ||
border-top: 0; | ||
} | ||
|
||
.csv-data th { | ||
font-weight: 600; | ||
border-top: 0; | ||
} | ||
|
||
.ui.list .list, | ||
ol.ui.list ol, | ||
ul.ui.list ul { | ||
|
@@ -513,7 +538,7 @@ | |
} | ||
} | ||
|
||
.markdown-block-error { | ||
.markup-block-error { | ||
6543 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
margin-bottom: 0 !important; | ||
border-bottom-left-radius: 0 !important; | ||
border-bottom-right-radius: 0 !important; | ||
|
@@ -524,7 +549,7 @@ | |
text-align: left !important; | ||
} | ||
|
||
.markdown-block-error + pre { | ||
.markup-block-error + pre { | ||
border-top: none !important; | ||
margin-top: 0 !important; | ||
border-top-left-radius: 0 !important; | ||
|
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.
Probably also need to update
headingSelector
a few lines above. The fact that this change was necessary makes me suspicious thought, because I thought we'd have both classes present, e.g.markup markdown
.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.
Keeping both classes was my original proposition, but it was decided against because of duplication. #12261 (comment)