Skip to content

Commit

Permalink
Merge pull request #1333 from openworld-community/fix-headings-mobile…
Browse files Browse the repository at this point in the history
…-main

headings on main on mobile added margin on the left
  • Loading branch information
Sinamon-maker authored Aug 29, 2024
2 parents ef27afc + 4990d91 commit c1fb7e3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/components/home/CardList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ const filterStore = useFilterStore();
const countries = {
en: {
ME: 'Montenegro',
SE: 'Serbia'
RS: 'Serbia'
},
ru: {
ME: 'Сербия',
SE: 'Черногория'
ME: 'Черногория',
RS: 'Сербия'
}
};
Expand Down Expand Up @@ -44,7 +44,7 @@ import { useFilterStore } from '~/stores/filter.store';
v-if="filterStore.filteredEvents && filterStore.filteredEvents.length"
class="cards__heading cards__heading--up"
>
{{ t('home.headings.up', { country: `${countries[locale]['SE']}` }) }}
{{ t('home.headings.up', { country: `${countries[locale]['RS']}` }) }}
  |  
{{ t('home.headings.up', { country: `${countries[locale]['ME']}` }) }}
</h2>
Expand All @@ -68,7 +68,7 @@ import { useFilterStore } from '~/stores/filter.store';
v-if="filterStore.filteredEvents && filterStore.filteredEvents.length"
class="cards__heading cards__heading--down"
>
{{ t('home.headings.down', { country: `${countries[locale]['SE']}` }) }}
{{ t('home.headings.down', { country: `${countries[locale]['RS']}` }) }}
&nbsp;&nbsp;|&nbsp;&nbsp;
{{ t('home.headings.down', { country: `${countries[locale]['ME']}` }) }}
</h2>
Expand All @@ -94,7 +94,7 @@ import { useFilterStore } from '~/stores/filter.store';
&__heading {
@media (max-width: 768px) {
font-size: var(--font-size-ML);
//font-weight: 500;
margin-left: 11px;
letter-spacing: -0.3;
}
@media (min-width: 768px) {
Expand Down

0 comments on commit c1fb7e3

Please sign in to comment.