Improved style
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="dropdown dropdown-hover">
|
<div class="dropdown dropdown-hover">
|
||||||
<label tabindex="0" class="btn m-1">{{translations.translate}}</label>
|
<label tabindex="0" class="btn m-1 bg-black border-neutral text-base-100">{{translations.translate}}</label>
|
||||||
<ul tabindex="0" class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-52">
|
<ul tabindex="0" class="dropdown-content menu p-2 shadow rounded-box w-52">
|
||||||
<li (click)="switchLanguage('DE')"><a>DE</a></li>
|
<li (click)="switchLanguage('DE')"><a>DE</a></li>
|
||||||
<li (click)="switchLanguage('FR')"><a>FR</a></li>
|
<li (click)="switchLanguage('FR')"><a>FR</a></li>
|
||||||
<li (click)="switchLanguage('IT')"><a>IT</a></li>
|
<li (click)="switchLanguage('IT')"><a>IT</a></li>
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ export class HomeComponent implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
this.allert = true;
|
this.allert = true;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.allert = false;
|
this.allert = false;
|
||||||
}, 8000);
|
}, 3000);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
const nomeLocation = encodeURIComponent(this.luogoSelezionato);
|
const nomeLocation = encodeURIComponent(this.luogoSelezionato);
|
||||||
|
|||||||
Reference in New Issue
Block a user