Skip to content

Commit

Permalink
resolve #6873 Iphone: Incorrect question transparent (#6898)
Browse files Browse the repository at this point in the history
Co-authored-by: OlgaLarina <olga.larina.dev@gmail.com>
  • Loading branch information
OlgaLarina and OlgaLarina committed Sep 7, 2023
1 parent afb52d2 commit 8661364
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/defaultV2-theme/blocks/sd-input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
outline: none;
}

//for IPHONE
input,
textarea {
&.sd-input:disabled:not(.sd-input--disabled) {
opacity: 1;
}
}

.sd-input--disabled {
background-color: $editor-background;
-webkit-user-select: none;
Expand All @@ -38,8 +46,8 @@
user-select: none;
}

.sd-input--disabled,
.sd-input--disabled::placeholder {
.sd-input.sd-input--disabled,
.sd-input.sd-input--disabled::placeholder {
color: $foreground;
opacity: 0.25;
}
Expand Down

0 comments on commit 8661364

Please sign in to comment.