Skip to content

Commit 1b727f4

Browse files
authored
Change up the custom block modal a bit
* Update custom-procedures.jsx * Update custom-procedures.css
1 parent 62b0a51 commit 1b727f4

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

src/components/custom-procedures/custom-procedures.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
display: flex;
2828
flex-direction: column;
2929
align-items: center;
30+
justify-content: center;
31+
32+
margin-top: 15px;
33+
margin-bottom: 15px;
34+
border-radius: 10px;
35+
border: 2px solid var(--ui-black-transparent, hsla(0, 0%, 0%, 0.15));
3036
}
3137
.color-picker-area > div:nth-child(1),
3238
.color-picker-area > div:nth-child(2) {
@@ -35,12 +41,6 @@
3541
flex-direction: row;
3642
justify-content: space-evenly;
3743
}
38-
/* .color-picker-area div:nth-child(1) {
39-
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
40-
}
41-
[theme="dark"] .color-picker-area div:nth-child(1) {
42-
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
43-
} */
4444

4545
/* Color inputs & color swatch */
4646
.body input[type="color"] {
@@ -90,7 +90,7 @@
9090

9191
/* Preset color options */
9292
.preset-color {
93-
border: 2px solid rgba(0, 0, 0, 0.2);
93+
border: 2.5px solid rgba(0, 0, 0, 0.13);
9494
box-shadow: 0 0 0 2px hsla(0, 0%, 0%, 0.2);
9595
margin: 4px;
9696
border-radius: 100%;
@@ -99,7 +99,7 @@
9999
}
100100
/* prevent soft-looking colors */
101101
[theme="dark"] .preset-color {
102-
box-shadow: 0 0 0 2px hsl(0deg 0% 40%);
102+
box-shadow: rgb(52, 52, 52) 0px 0px 0px 2.5px;
103103
}
104104

105105
.parent-custom {

src/components/custom-procedures/custom-procedures.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ const CustomProcedures = props => (
230230
role="button"
231231
tabIndex="0"
232232
onClick={props.onAddCommand}
233-
style={{display: "none"}} //shhh
234233
>
235234
<img
236235
className={styles.optionIcon}
@@ -418,4 +417,4 @@ CustomProcedures.propTypes = {
418417
onOutputTypeChanged: PropTypes.func.isRequired
419418
};
420419

421-
export default injectIntl(CustomProcedures);
420+
export default injectIntl(CustomProcedures);

0 commit comments

Comments
 (0)