Quick contact change dropdown to drop with card and default shadow
This commit is contained in:
parent
6663dee508
commit
9542bd1e32
|
@ -5,7 +5,7 @@
|
|||
z-index: 980;
|
||||
}
|
||||
|
||||
.uk-dropdown {
|
||||
.uk-drop {
|
||||
max-height: 550px;
|
||||
height: calc(80vh - 100px);
|
||||
width: 400px;
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
<icon *ngIf="showDrop" name="close" [flex]="true"></icon>
|
||||
<span class="uk-margin-small-left">{{contact}}</span>
|
||||
</button>
|
||||
<div #drop id="quick-contact" class="uk-dropdown uk-padding-remove"
|
||||
uk-dropdown="mode: click; pos: top-right; animation: uk-animation-fade; offset: 20">
|
||||
<div class="uk-card uk-flex uk-flex-column uk-height-1-1">
|
||||
<div #drop id="quick-contact" class="uk-drop"
|
||||
uk-drop="mode: click; pos: top-right; animation: uk-animation-fade; offset: 20">
|
||||
<div class="uk-card uk-card-default uk-box-shadow-default uk-flex uk-flex-column uk-height-1-1">
|
||||
<div class="uk-card-header uk-padding-small uk-text-center" [ngClass]="background">
|
||||
<div class="uk-text-small">
|
||||
Send a message
|
||||
|
|
|
@ -54,7 +54,7 @@ export class QuickContactComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
|
||||
public close() {
|
||||
UIkit.dropdown(this.drop.nativeElement).hide();
|
||||
UIkit.drop(this.drop.nativeElement).hide();
|
||||
}
|
||||
|
||||
public send(event) {
|
||||
|
|
Loading…
Reference in New Issue