File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed
Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -55,25 +55,23 @@ onMounted(() => {
5555 <Icon @click.prevent.stop =" isDisplayed = false" name =" close" size =" 16" color =" secondary" :class =" $style.close_icon" />
5656 </Flex >
5757 </Flex >
58+
5859 <Flex
5960 v-else-if =" orientation === 'horizontal'"
6061 align =" center"
61- justify =" between"
6262 gap =" 12"
6363 wide
6464 :class =" $style.ad_horizontal"
6565 >
66- <Flex align =" center" gap =" 12" >
67- <Flex align =" center" gap =" 8" >
68- <Icon v-if =" adv.icon" :name =" adv.icon" size =" 14" color =" brand" />
69-
70- <Text size =" 13" weight =" 600" color =" primary" :class =" $style.text" > {{ adv.header }} </Text >
71- </Flex >
66+ <Flex align =" center" gap =" 8" >
67+ <Icon v-if =" adv.icon" :name =" adv.icon" size =" 14" color =" brand" />
7268
73- <Text size =" 13" weight =" 600" color =" tertiary " height = " 140 " :class =" $style.text" > {{ adv.body }} </Text >
69+ <Text size =" 13" weight =" 600" color =" primary " :class =" $style.text" > {{ adv.header }} </Text >
7470 </Flex >
7571
76- <Flex align =" center" gap =" 8" >
72+ <Text size =" 13" weight =" 600" color =" tertiary" height =" 140" :class =" $style.text" > {{ adv.body }} </Text >
73+
74+ <Flex align =" center" gap =" 8" :class =" $style.footer" >
7775 <Text size =" 13" weight =" 600" color =" brand" :class =" $style.text" > {{ adv.footer }} </Text >
7876
7977 <Icon @click.prevent.stop =" isDisplayed = false" name =" close" size =" 16" color =" secondary" :class =" $style.close_icon" />
@@ -170,11 +168,24 @@ onMounted(() => {
170168 & .text {
171169 line-height : 1.5 ;
172170 }
171+
172+ & .footer {
173+ margin-left : auto ;
174+ }
173175}
174176
175177@media (max-width : 500px ) {
176178 .wrapper_horizontal {
177179 padding : 12px ;
178180 }
181+
182+ .ad_horizontal {
183+ flex-direction : column ;
184+ gap : 4px ;
185+
186+ & .footer {
187+ margin-left : 0% ;
188+ }
189+ }
179190}
180191 </style >
You can’t perform that action at this time.
0 commit comments