Display continents filters buttons with countries only

Hide the ones with no linked country
This commit is contained in:
2021-10-02 13:24:01 +02:00
parent 0cc1585953
commit a47617d895
3 changed files with 27 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
.browse {
margin-top: 96px;
margin: 96px 0 128px;
// Description
&__description {
@@ -17,9 +17,12 @@
// Continents
&__continents {
display: flex;
justify-content: center;
text-align: center;
button {
li {
display: block;
margin: 0 8px;
}
}
@@ -28,7 +31,7 @@
&__locations {
width: 70%;
max-width: 1200px;
margin: 88px auto 80px;
margin: 88px auto 0;
padding: 0 32px;
@include bp (mob-lg) {
@@ -43,7 +46,7 @@
display: flex;
flex-flow: row wrap;
width: 100%;
margin: 104px auto 80px;
margin-top: 104px;
}
.location {