upload selector improvements

This commit is contained in:
bkfox
2024-03-17 21:14:26 +01:00
parent 024db5f307
commit 3ad886764c
7 changed files with 17 additions and 31 deletions

View File

@ -2786,12 +2786,6 @@ a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-i
color: var(--button-fg);
background-color: var(--button-bg);
}
#player .button.smaller, #player a.button.smaller, #player button.button.smaller, .ax .button.smaller, .ax a.button.smaller, .ax button.button.smaller {
font-size: 0.8rem;
}
#player .button.small, #player a.button.small, #player button.button.small, .ax .button.small, .ax a.button.small, .ax button.button.small {
font-size: 0.6rem;
}
#player .button.square, #player a.button.square, #player button.button.square, .ax .button.square, .ax a.button.square, .ax button.button.square {
min-width: 2.5em;
}

View File

@ -630,12 +630,6 @@
color: var(--button-fg);
background-color: var(--button-bg);
}
.button.smaller, a.button.smaller, button.button.smaller {
font-size: 0.8rem;
}
.button.small, a.button.small, button.button.small {
font-size: 0.6rem;
}
.button.square, a.button.square, button.button.square {
min-width: 2.5em;
}

File diff suppressed because one or more lines are too long

View File

@ -58,7 +58,7 @@ class TrackROViewSet(viewsets.ReadOnlyModelViewSet):
if field:
queryset = self.filter_queryset(self.get_queryset())
values = queryset.values_list(field, flat=True).distinct()
return Response(values)
return Response(values[:10])
return self.list(request)