1
0
Fork 0
forked from forgejo/forgejo

Fix Show/hide filetree button on small displays (#27881)

the gt-df's display:flex !important did override the display:none on small displays

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
sebastian-sauer 2023-11-17 19:35:51 +01:00 committed by GitHub
parent f63b116697
commit e31c6cfe6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 22 deletions

View file

@ -2743,26 +2743,6 @@ tbody.commit-list {
overflow-y: auto;
}
.diff-toggle-file-tree-button {
background: none;
border: none;
user-select: none;
color: inherit;
}
.diff-toggle-file-tree-button:hover {
color: var(--color-primary);
}
@media (max-width: 991.98px) {
#diff-file-tree {
display: none !important;
}
.diff-toggle-file-tree-button {
display: none !important;
}
}
.ui.message.unicode-escape-prompt {
margin-bottom: 0;
border-radius: 0;