fix logos display

This commit is contained in:
Valentin 2024-10-11 14:43:21 +02:00
parent 55345ea6c4
commit 48672f9b4c
2 changed files with 5 additions and 1 deletions

View File

@ -217,6 +217,8 @@ export const useContentStore = defineStore('content', {
this.map = map; this.map = map;
try { try {
const response = await REST.get(`/jsonapi/node/static/`); const response = await REST.get(`/jsonapi/node/static/`);
console.log(response.data.data);
for (let page of response.data.data) { for (let page of response.data.data) {
if (page.attributes.drupal_internal__nid == nid) { if (page.attributes.drupal_internal__nid == nid) {
for (let metatag of page.attributes.metatag) { for (let metatag of page.attributes.metatag) {

View File

@ -50,13 +50,15 @@ body{
grid-column: 2 / span 2; grid-column: 2 / span 2;
display: flex; display: flex;
align-items: center; align-items: center;
padding-right: 2.5rem;
> div > div > a > img { > div > div > a > img {
width: 100%; width: 100%;
height: auto; height: auto;
} }
} }
> #block-caravane-logocaravane { > #block-caravane-logocaravane {
grid-column: 7 / span 4; grid-column: 8 / span 2;
padding-top: 0.5rem;
display: flex; display: flex;
align-items: center; align-items: center;
> div > div > a > img { > div > div > a > img {