Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion web_src/css/markup/content.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.markup {
overflow: hidden;
font-size: 16px;
font-size: 14px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should remove this and use the parent's font-size.

Body's default font-size is also 14px IIRC.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have html, body {font-size: 14px}, yes. But I'm not confident that inheriting wouldn't break anything. I think it's better to explicitely specify 14px/16px than to rely on potentially incorrect surrounding content.

line-height: 1.5 !important;
overflow-wrap: break-word;
}
Expand Down Expand Up @@ -318,6 +318,7 @@ In markup content, we always use bottom margin for all elements */

.file-view.markup {
padding: 1em 2em;
font-size: 16px;
}

.file-view.markup:has(.file-not-rendered-prompt) {
Expand Down
12 changes: 0 additions & 12 deletions web_src/css/repo.css
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,6 @@ td .commit-summary {
min-width: 100px;
}

.repository.new.issue .comment.form .content .markup {
font-size: 14px;
}

.repository.view.issue .instruct-toggle {
display: inline-block;
}
Expand Down Expand Up @@ -630,10 +626,6 @@ td .commit-summary {
background: var(--color-light);
}

.repository.view.issue .comment-list .comment .markup {
font-size: 14px;
}

.repository.view.issue .comment-list .comment .no-content {
color: var(--color-text-light-2);
font-style: italic;
Expand Down Expand Up @@ -723,10 +715,6 @@ td .commit-summary {
text-align: center;
}

.repository.compare.pull .markup {
font-size: 14px;
}

.repository.branches .commit-divergence .bar-group {
position: relative;
float: left;
Expand Down