Skip to content

Commit c579d07

Browse files
author
Victor George
committed
Feature picker collapsed feature preview image fix, position of closing icon fix
1 parent 9fdca35 commit c579d07

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

src/projects/detail/components/FeatureSelector/FeaturePreview.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22

33
.feature-preview {
44
text-align: center;
5-
/*padding: (8 * $base-unit) (12 * $base-unit) ;*/
6-
/*background: url('./images/Device-iPhone.svg') no-repeat;*/
7-
background-color: #FBFDFF;
5+
// padding: (8 * $base-unit) (12 * $base-unit) ;
6+
// background: url('./images/Device-iPhone.svg') no-repeat;
7+
background-color: #fbfdff;
88
background-position: 50% 22px;
99
padding: 8 * $base-unit;
1010
border-left: 1px solid $tc-dark-blue-30;
11+
min-width: 260px;
12+
display: block;
13+
1114
.feature-preview-img {
1215
background: url('./images/Device-iPhone.svg') no-repeat;
1316
/*padding: (8 * $base-unit) (12 * $base-unit) ;*/
@@ -16,6 +19,7 @@
1619
max-width: 273px;
1720
background-size: contain;
1821
}
22+
1923
img {
2024
display: inline-block;
2125
width: 100%;

src/projects/detail/containers/Specification.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,19 @@ $title-color: $tc-gray-80;
5050
.x-mark-icon {
5151
display: inline-block;
5252
margin: 0 0 0 5px;
53-
vertical-align: text-bottom;
5453
transition: all 200ms ease-in-out;
54+
55+
& > svg {
56+
padding-top: 3px;
57+
transition: all 200ms ease-in-out;
58+
}
5559
}
5660

5761
&:hover {
5862
color: $tc-black;
5963
cursor: pointer;
6064

61-
.x-mark-icon {
65+
.x-mark-icon > svg {
6266
fill: $tc-black;
6367
}
6468
}

0 commit comments

Comments
 (0)