Skip to content

Commit 6356561

Browse files
Merge pull request #16 from joernroeder/patch-1
fixes flexbox wrapper styles
2 parents 6ad1e1a + b5062c3 commit 6356561

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

src/vue-cookie-accept-decline.vue

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,21 +210,14 @@ export default {
210210
width: 100%;
211211
background: $lighter-grey;
212212
padding: 20px 20px;
213-
display: flex;
214-
justify-content: space-between;
215213
align-items: center;
216-
flex-direction: column;
217214
box-shadow: 0 -4px 4px rgba($grey, 0.05);
218215
border-top: 1px solid $light-grey;
219216
border-bottom: 1px solid $light-grey;
220217
font-size: 1rem;
221218
font-family: -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, “Fira Sans”, “Droid Sans”, “Helvetica Neue”, Arial, sans-serif;
222219
line-height: 1.5;
223220
224-
@media (min-width: 768px) {
225-
flex-direction: row;
226-
}
227-
228221
&--bottom {
229222
bottom: 0;
230223
left: 0;
@@ -236,6 +229,17 @@ export default {
236229
left: 0;
237230
right: 0;
238231
}
232+
233+
&__wrap {
234+
display: flex;
235+
justify-content: space-between;
236+
flex-direction: column;
237+
width: 100%;
238+
239+
@media (min-width: 768px) {
240+
flex-direction: row;
241+
}
242+
}
239243
240244
&__postpone-button {
241245
margin-right: auto;

0 commit comments

Comments
 (0)