Skip to content

Commit bfea0b3

Browse files
authored
fix: SupportedDeviceTable SeeAll button position (#581)
* fix: SupportedDeviceTable SeeAll button position * update to use sass math
1 parent afc2377 commit bfea0b3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/styles/_supported-device-table.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
@use './colors';
22

3+
$row-height: 64px;
34
$row-padding: 8px;
5+
$see-all-button-height: 30px;
46

57
@mixin all {
68
.seam-supported-device-table-content-wrap {
@@ -160,7 +162,7 @@ $row-padding: 8px;
160162
cursor: pointer;
161163
background: colors.$white;
162164
display: flex;
163-
height: 30px;
165+
height: $see-all-button-height;
164166
padding: 5px 24px 4px 16px;
165167
align-items: center;
166168
gap: 2px;
@@ -173,6 +175,7 @@ $row-padding: 8px;
173175
0 1px 1px 0 rgb(16 27 37 / 10%),
174176
0 1px 8px 0 rgb(46 69 82 / 12%);
175177
position: absolute;
178+
bottom: -($row-height - $see-all-button-height - $row-padding) / 2;
176179
left: 50%;
177180
transform: translate(-50%, -47px);
178181
z-index: 3;
@@ -189,7 +192,7 @@ $row-padding: 8px;
189192
#fff 86.98%
190193
);
191194
position: absolute;
192-
height: 64px;
195+
height: $row-height;
193196
width: 100%;
194197
bottom: 0;
195198
z-index: 2;
@@ -267,7 +270,7 @@ $row-padding: 8px;
267270
border-collapse: collapse;
268271

269272
.seam-row {
270-
height: 64px;
273+
height: $row-height;
271274
border-bottom: 1px solid colors.$bg-b;
272275
display: flex;
273276

0 commit comments

Comments
 (0)