improved mobile menu

This commit is contained in:
Bachir Soussi Chiadmi 2021-05-31 16:59:15 +02:00
parent cb15c9faf1
commit 305df5c7df
8 changed files with 8 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -415,6 +415,10 @@ header[role="banner"]{
text-align: right;
li{
display: block;
a{
display: block;
padding: 0.2em 0;
}
}
}
}

View File

@ -134,8 +134,8 @@ function materiotheme_preprocess_html(&$vars) {
'#tag' => 'meta',
'#attributes' => array(
'rel' => 'mask-icon',
'color' => "#69ccce",
'href' => '/safari-pinned-tab.svg',
'color' => "#69ccce",
),
);
$vars['page']['#attached']['html_head'][] = [$safaripinnedtab, '$safaripinnedtab'];

View File

@ -49,7 +49,9 @@ export default {
console.log('startShowroomCarroussel')
this.showrooms = document.querySelectorAll('.field--name-computed-showrooms-reference > .field__item')
console.log('showrooms', this.showrooms)
if (!this.showrooms.lenght) {
return
}
for (let i = 0; i < this.showrooms.length; i++) {
if (i%2 === 0) {
this.showroomsOdd.push(this.showrooms[i])