mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 02:08:36 +00:00
Clean up "file-view" related styles (#34558)
Move "file-view" and "code-view" related styles to their own file, remove unnecessary `!important`
This commit is contained in:
@@ -1238,21 +1238,6 @@ td .commit-summary {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.file-view.markup {
|
||||
padding: 1em 2em;
|
||||
}
|
||||
|
||||
.file-view.markup:has(.file-not-rendered-prompt) {
|
||||
padding: 0; /* let the file-not-rendered-prompt layout itself */
|
||||
}
|
||||
|
||||
.file-not-rendered-prompt {
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
font-size: 1rem !important; /* use consistent styles for various containers (code, markup, etc) */
|
||||
line-height: var(--line-height-default) !important; /* same as above */
|
||||
}
|
||||
|
||||
.repository .activity-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
Reference in New Issue
Block a user