Skip to content

Commit 3497da3

Browse files
authored
Merge pull request #1126 from RedisInsight/feature/RI-2742_Formatters_in_Browser
Feature/ri 2742 formatters in browser
2 parents 1446990 + eb8f1a3 commit 3497da3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

redisinsight/ui/src/pages/browser/components/string-details/StringDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ const StringDetails = (props: Props) => {
191191
}}
192192
disabled={loading}
193193
inputRef={textAreaRef}
194-
className={cx(styles.stringTextArea, { 'input-warning': isDisabled })}
194+
className={cx(styles.stringTextArea, { [styles.areaWarning]: isDisabled })}
195195
data-testid="string-value"
196196
/>
197197
</InlineItemEditor>

redisinsight/ui/src/pages/browser/components/string-details/styles.module.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,9 @@ $outer-height-mobile: 340px;
4545
@media only screen and (max-width: 767px) {
4646
max-height: calc(100vh - #{$outer-height-mobile} - 55px);
4747
}
48+
49+
&.areaWarning {
50+
border-color: var(--euiColorWarningLight) !important;
51+
background-image: none !important;
52+
}
4853
}

0 commit comments

Comments
 (0)