Improve detecting empty files (#31332)
Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
7115dce773
commit
47ca61d8ba
11 changed files with 29 additions and 13 deletions
|
@ -1706,6 +1706,18 @@ td .commit-summary {
|
|||
.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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue