Skip to content

Commit b66fa92

Browse files
fix: image styling (#419)
1 parent 06b3ebd commit b66fa92

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

src/ui/layouts/connectors/ServicesSelectorComponent/index.module.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
img {
2-
height: 20px;
1+
.service_selector_wrapper {
2+
img {
3+
height: 20px;
4+
}
35
}
46

57
.service_selector {
@@ -14,6 +16,8 @@ img {
1416
border-radius: 4px;
1517
cursor: pointer;
1618

19+
20+
1721
.service_selector_selected {
1822
padding: 3px !important;
1923
background: rgba(201, 203, 208, 0.05);

src/ui/layouts/connectors/ServicesSelectorComponent/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const Index: React.FC<ServicesSelector> = ({
8080
);
8181

8282
return (
83-
<Box>
83+
<Box className={styles.service_selector_wrapper}>
8484
<Box paddingBottom="sm">
8585
<Paragraph size="body" style={{ color: 'black' }}>
8686
<label style={{ display: 'flex', flexDirection: 'row' }}>

src/ui/layouts/stackComponents/ServicesSelectorComponent/index.module.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
img {
2-
height: 20px;
1+
.service_selector_wrapper {
2+
img {
3+
height: 20px;
4+
}
5+
36
}
47

58
.service_selector {

src/ui/layouts/stackComponents/ServicesSelectorComponent/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const Index: React.FC<ServicesSelector> = ({
4040
console.log(defaultMappedConfig, inputData, 'fefefw');
4141

4242
return (
43-
<Box>
43+
<Box className={styles.service_selector_wrapper}>
4444
<Box
4545
className={styles.service_selector}
4646
onClick={() => setShowServices(!showServices)}

0 commit comments

Comments
 (0)