+
+
+
![]()
+
![Wine image]()
+
+
-
+
@@ -37,6 +37,15 @@ export default {
required: false,
default: false
}
+ },
+ methods: {
+ shouldUseInlineSlot() {
+ return this.inlineSlot && window.innerWidth > 768
+ },
+ hostname(url) {
+ const urlHostname = new URL(url).hostname
+ return urlHostname.split(".")[(urlHostname.match(/\./g) || []).length - 1]
+ }
}
};
@@ -76,13 +85,11 @@ h2 {
}
}
-.container {
+.wine-container {
margin-bottom: 30px;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
font-family: Arial;
width: 100%;
+ max-width: max-content;
&.big {
align-items: center;
@@ -93,17 +100,6 @@ h2 {
}
}
-.wine-container {
- width: 100%;
- // display: flex;
- // flex-direction: row;
- // flex-wrap: wrap;
-
- >* {
- // flex: 1 1 auto;
- }
-}
-
.left {
float: left;
margin-right: 3rem;
@@ -114,10 +110,15 @@ h2 {
}
.right {
+ margin-bottom: 2rem;
display: flex;
flex-direction: column;
height: max-content;
- margin-bottom: 2rem;
+
+ > div:first-of-type {
+ display: flex;
+ flex-direction: column;
+ }
}
a,
diff --git a/src/ui/Wines.vue b/src/ui/Wines.vue
index 27e1687..78f6e7c 100644
--- a/src/ui/Wines.vue
+++ b/src/ui/Wines.vue
@@ -25,8 +25,8 @@
@@ -178,7 +178,11 @@ export default {
justify-content: center;
align-items: center;
@include desktop {
- width: 60vw;
+ width: 80vw;
+ }
+
+ > *:first-child {
+ display: flex;
}
}
@@ -212,12 +216,6 @@ h3 {
}
}
}
-div {
- margin: 0;
- font-family: arial;
- display: inline-flex;
- flex-direction: column;
-}
ol {
padding-left: 1.375rem !important;