Fix add to playlist button width
This commit is contained in:
parent
f9ac050a35
commit
e390107e5a
2 changed files with 8 additions and 2 deletions
|
@ -24,7 +24,10 @@
|
|||
{{ playlist.displayName }}
|
||||
</label>
|
||||
|
||||
<button class="optional-row-icon button-unstyle" *ngIf="isPrimaryCheckboxChecked(playlist)" (click)="$event.stopPropagation(); toggleOptionalRow(playlist)">
|
||||
<button
|
||||
class="optional-row-icon button-unstyle" [ngClass]="{ 'invisible': !isPrimaryCheckboxChecked(playlist) }"
|
||||
(click)="$event.stopPropagation(); toggleOptionalRow(playlist)"
|
||||
>
|
||||
<my-global-icon iconName="add" aria-hidden="true"></my-global-icon>
|
||||
</button>
|
||||
</button>
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
|
||||
.primary-row {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
||||
my-peertube-checkbox {
|
||||
@include margin-right(10px);
|
||||
|
@ -67,7 +68,7 @@
|
|||
}
|
||||
|
||||
.optional-row-icon {
|
||||
@include margin-left(5px);
|
||||
@include margin-left(0.5rem);
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -78,6 +79,8 @@
|
|||
@include apply-svg-color(#333);
|
||||
@include margin-right(0);
|
||||
|
||||
position: relative;
|
||||
top: 1px;
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue