1
0
Fork 0
forked from forgejo/forgejo

Fix label list divider (#25312) (#25372)

Backport #25312 by @wxiaoguang

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](74989996-fcea-4df4-b534-b06f7957939a)


![image](ee3b3761-b96e-4fb5-b646-e9d3117e5f40)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot 2023-06-19 14:14:31 -04:00 committed by GitHub
parent e6e1cfd8e4
commit e9105ac281
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -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;