Improve size and position of custom badge in mobile view
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
display: block;
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
font-size: 2vw;
|
||||
line-height: 1;
|
||||
padding-bottom: 4px;
|
||||
|
||||
|
||||
@@ -61,10 +61,16 @@
|
||||
.product-header__badge {
|
||||
position: absolute;
|
||||
display: block;
|
||||
@include size(100px);
|
||||
@include size(80px);
|
||||
top: 0;
|
||||
right: 64px;
|
||||
|
||||
&--custom {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
right: 110px;
|
||||
}
|
||||
|
||||
&--skipass {
|
||||
width: 75px;
|
||||
height: auto;
|
||||
@@ -84,6 +90,7 @@
|
||||
@include size(180px);
|
||||
|
||||
&--custom {
|
||||
bottom: auto;
|
||||
top: 36px;
|
||||
right: 20%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user