From bfab129fb97479e2efaaa0ece7071e13d79629ed Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Mon, 19 Jun 2023 01:33:12 +0800 Subject: Fix label list divider (#25312) We only needs 2 lines to hide the dividers. ``` $dropdownLabelFilter.dropdown('setting', {'hideDividers': 'empty'}); $dropdownLabelFilter.dropdown('refreshItems'); ``` Other code blocks are refactored by the way. ![image](https://github.com/go-gitea/gitea/assets/2114189/74989996-fcea-4df4-b534-b06f7957939a) ![image](https://github.com/go-gitea/gitea/assets/2114189/ee3b3761-b96e-4fb5-b646-e9d3117e5f40) --- web_src/css/repo.css | 1 - 1 file changed, 1 deletion(-) (limited to 'web_src/css/repo.css') diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 3896265dda..c476fab1b5 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -149,7 +149,6 @@ .repository .filter.menu.labels .label-filter .menu .info { display: inline-block; padding: 0.5rem 0.25rem; - border-bottom: 1px solid var(--color-secondary); font-size: 12px; width: 100%; white-space: nowrap; -- cgit v1.2.3