summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-05-01 18:51:14 +0800
committerGitHub <noreply@github.com>2023-05-01 12:51:14 +0200
commitce16ff6219d718000b04fdccdcedf12727795c7b (patch)
tree5d53d5e296e7ccdfdfb19b44d25cfddda5ec721a
parent1bd277223571c12dc57dd86e50d14f81a273b9cc (diff)
downloadgitea-ce16ff6219d718000b04fdccdcedf12727795c7b.tar.gz
gitea-ce16ff6219d718000b04fdccdcedf12727795c7b.zip
Remove unnecessary g-menu-stackable-scrollable (#24462)
Fix #24460 That's a mistake but ..... no idea why I wrote so ... remove it.
-rw-r--r--templates/user/dashboard/navbar.tmpl2
-rw-r--r--web_src/css/base.css13
2 files changed, 1 insertions, 14 deletions
diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl
index 3eec91df3f..f6c86f935e 100644
--- a/templates/user/dashboard/navbar.tmpl
+++ b/templates/user/dashboard/navbar.tmpl
@@ -1,5 +1,5 @@
<div class="dashboard-navbar">
- <div class="ui secondary stackable menu g-menu-stackable-scrollable">
+ <div class="ui secondary stackable menu">
<div class="item">
<div class="ui floating dropdown jump">
<span class="text truncated-item-container">
diff --git a/web_src/css/base.css b/web_src/css/base.css
index b351bdeaa6..ed51892044 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -2803,19 +2803,6 @@ table th[data-sortt-desc] .svg {
height: 15px;
}
-.g-menu-stackable-scrollable {
- overflow-y: hidden;
- overflow-x: auto;
-}
-
-@media (max-width: 767.98px) {
- /* also respect Fomantic's "stackable" definition, use the same breakpoint to reset our styles */
- .g-menu-stackable-scrollable {
- overflow-x: unset;
- overflow-y: unset;
- }
-}
-
.color-text-light-2 {
color: var(--color-text-light-2);
}