Skip to content

Commit bb28677

Browse files
committed
Merge pull request #6812 in SW/shopware from sw-21379/5.4/cookie-design-fix to 5.4
* commit '2a512603d3b267a8ded00fbdb69062e2b98b0008': SW-21379 - Improve styling of cookie modal
2 parents 64d4e00 + 2a51260 commit bb28677

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

themes/Frontend/Bare/frontend/_includes/cookie_permission_note.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
{/if}
7777

7878
<div class="cookie-removal--buttons">
79-
<a class="btn cookie-permission--close-button">{s name="cookiePermission/close"}{/s}</a>
80-
<a class="btn is--secondary cookie-permission--accept-button">{s name="cookiePermission/buttonText"}{/s}</a>
79+
<a class="btn is--secondary cookie-permission--accept-button is--center">{s name="cookiePermission/buttonText"}{/s}</a>
80+
<a class="btn cookie-permission--close-button is--center">{s name="cookiePermission/close"}{/s}</a>
8181
</div>
8282
</div>
8383
{/block}

themes/Frontend/Responsive/frontend/_public/src/less/_modules/cookie-permisson.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,15 @@
3939
.unitize(margin-bottom, 6);
4040
display: inline-block;
4141
width: 48%;
42+
float: right;
4243

4344
&:last-child {
4445
margin-right: 2%;
4546
}
4647
}
4748
}
4849

49-
@media screen and (min-width: @tabletViewportWidth) {
50+
@media screen and (min-width: @phoneLandscapeViewportWidth) {
5051
.cookie-removal--container {
5152
.cookie-removal--footer {
5253
.clearfix();

0 commit comments

Comments
 (0)