DM-536 - drawn an arrow down in circle button component to look like a dropdown button when it's the case
This commit is contained in:
parent
052bf3a5d7
commit
4b656564fe
@ -17,4 +17,6 @@
|
||||
</button>
|
||||
|
||||
<div *ngIf="showDot" class="dot"></div>
|
||||
|
||||
<div *ngIf="dropdownButton" class="arrow-down"></div>
|
||||
</div>
|
||||
|
||||
@ -1,4 +1,12 @@
|
||||
:host > div {
|
||||
width: var(--circle-button-size);
|
||||
height: var(--circle-button-size);
|
||||
|
||||
.arrow-down {
|
||||
border: 5px solid transparent;
|
||||
border-top-color: black;
|
||||
position: fixed;
|
||||
margin-left: 12px;
|
||||
margin-top: -8px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -33,6 +33,7 @@ export class CircleButtonComponent implements OnInit {
|
||||
@Input() helpModeButton = false;
|
||||
@Input() removeTooltip = false;
|
||||
@Input() isSubmit = false;
|
||||
@Input() dropdownButton = false;
|
||||
@Input() size = 34;
|
||||
@Input() iconSize = 14;
|
||||
@Output() readonly action = new EventEmitter<MouseEvent>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user