diff options
author | James Woglom <j@wogloms.net> | 2022-08-30 01:29:55 -0400 |
---|---|---|
committer | James Woglom <j@wogloms.net> | 2022-08-30 01:29:55 -0400 |
commit | e911105c19ab979f7dc2771e7ecf65f2746e711b (patch) | |
tree | 49e7629248dc41955a2e46a9a330d055b4dd0be9 /ui | |
parent | Link to audio files and those with custom folders properly (diff) | |
download | metube-e911105c19ab979f7dc2771e7ecf65f2746e711b.tar.gz metube-e911105c19ab979f7dc2771e7ecf65f2746e711b.tar.bz2 metube-e911105c19ab979f7dc2771e7ecf65f2746e711b.zip |
fix button rounding when CUSTOM_DIRS=false
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/app/app.component.html | 4 |
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"> |