diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index 8e8125a5f..03e9019b2 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -1255,8 +1255,8 @@
color: var(--color-text-light-2);
}
-.repository .filter.dropdown .menu {
- margin-top: 1px !important;
+.repository .ui.dropdown.filter > .menu {
+ margin-top: 1px;
}
.repository.branches .commit-divergence .bar-group {
diff --git a/web_src/js/components/RepoBranchTagSelector.vue b/web_src/js/components/RepoBranchTagSelector.vue
index e6e72e388..488f80a76 100644
--- a/web_src/js/components/RepoBranchTagSelector.vue
+++ b/web_src/js/components/RepoBranchTagSelector.vue
@@ -16,26 +16,15 @@