aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Woglom <j@wogloms.net>2022-08-30 01:29:55 -0400
committerJames Woglom <j@wogloms.net>2022-08-30 01:29:55 -0400
commite911105c19ab979f7dc2771e7ecf65f2746e711b (patch)
tree49e7629248dc41955a2e46a9a330d055b4dd0be9
parentLink to audio files and those with custom folders properly (diff)
downloadmetube-e911105c19ab979f7dc2771e7ecf65f2746e711b.tar.gz
metube-e911105c19ab979f7dc2771e7ecf65f2746e711b.tar.bz2
metube-e911105c19ab979f7dc2771e7ecf65f2746e711b.zip
fix button rounding when CUSTOM_DIRS=false
-rw-r--r--ui/src/app/app.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html
index 4ca9a07..b31c441 100644
--- a/ui/src/app/app.component.html
+++ b/ui/src/app/app.component.html
@@ -47,12 +47,12 @@
</div>
</div>
<div class="col-md-3 add-url-component">
- <div class="btn-group add-url-group" ngbDropdown #advancedDropdown="ngbDropdown" display="dynamic" placement="bottom-end">
+ <div [attr.class]="showAdvanced() ? 'btn-group add-url-group' : 'add-url-group'" ngbDropdown #advancedDropdown="ngbDropdown" display="dynamic" placement="bottom-end">
<button class="btn btn-primary add-url" type="submit" (click)="addDownload()" [disabled]="addInProgress || downloads.loading">
<span class="spinner-border spinner-border-sm" role="status" id="add-spinner" *ngIf="addInProgress"></span>
{{ addInProgress ? "Adding..." : "Add" }}
</button>
- <button class="btn btn-primary dropdown-toggle dropdown-toggle-split" id="advancedButton" type="button" [disabled]="addInProgress || downloads.loading" ngbDropdownAnchor (focus)="advancedDropdown.open()" *ngIf="showAdvanced()">
+ <button class="btn btn-primary dropdown-toggle dropdown-toggle-split" id="advancedButton" type="button" title="Advanced options" [disabled]="addInProgress || downloads.loading" ngbDropdownAnchor (focus)="advancedDropdown.open()" *ngIf="showAdvanced()">
<span class="sr-only">Advanced options</span>
</button>
<div ngbDropdownMenu aria-labelledby="advancedButton" class="dropdown-menu dropdown-menu-end folder-dropdown-menu">
bgstack15