Skip to content

Commit 909eb7b

Browse files
committed
RWD: made swatches slightly bigger to respect touch-point-sizing
1 parent 82a60f8 commit 909eb7b

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

app/code/core/Mage/ConfigurableSwatches/etc/config.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@
126126
<height>21</height>
127127
</product_detail_dimensions>
128128
<product_listing_dimensions>
129-
<width>15</width>
130-
<height>15</height>
129+
<width>18</width>
130+
<height>18</height>
131131
</product_listing_dimensions>
132132
<layered_nav_dimensions>
133-
<width>15</width>
134-
<height>15</height>
133+
<width>18</width>
134+
<height>18</height>
135135
</layered_nav_dimensions>
136136
</configswatches>
137137
</default>

public/skin/frontend/rwd/default/css/styles.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2801,6 +2801,8 @@ body {
28012801
}
28022802
.page-header-container .store-language-container select {
28032803
font-size: 0.75rem;
2804+
padding: 0.1rem 0;
2805+
margin-bottom: 0.3rem;
28042806
}
28052807
}
28062808
.header-language-background,
@@ -6786,9 +6788,16 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
67866788
white-space: nowrap;
67876789
}
67886790

6791+
.configurable-swatch-list {
6792+
display: flex;
6793+
gap: 0.4rem;
6794+
}
6795+
6796+
.products-grid .configurable-swatch-list {
6797+
justify-content: center;
6798+
}
6799+
67896800
.configurable-swatch-list li {
6790-
display: inline-block;
6791-
vertical-align: top;
67926801
overflow: hidden;
67936802
white-space: nowrap;
67946803
}

0 commit comments

Comments
 (0)