Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAGETWO-98251 Position remove icon in sidebar #25380

Merged
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,11 @@
.action {
&.delete {
&:extend(.abs-remove-button-for-blocks all);
line-height: unset;
position: absolute;
right: 0;
top: 0;
top: -1px;
width: auto;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,14 @@
}

.page-layout-2columns-left {
.main {
padding-left: @layout-column__additional-sidebar-offset
}

.sidebar-additional {
clear: left;
float: left;
padding-left: 0;
padding-right: @layout-column__additional-sidebar-offset;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@

.box-tocart {
&:extend(.abs-box-tocart all);

krzksz marked this conversation as resolved.
Show resolved Hide resolved
.field.qty {
}

Expand Down Expand Up @@ -987,6 +987,24 @@
}
}
}

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
.sidebar {
.product-items {
.action {
&.delete {
&:extend(.abs-remove-button-for-blocks all);
line-height: unset;
position: absolute;
right: 0;
top: -1px;
width: auto;
}
}
}
}
}

.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
.compare.wrapper,
[class*='block-compare'] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,13 +360,12 @@
position: absolute;
top: -2px;
width: 100%;
z-index: 1;
z-index: -1;
}
}
}

.product-item-actions {
position: relative;
z-index: 1;
}
}
Expand Down