Skip to content

Commit 3d9d21f

Browse files
author
Artyom Podymov
committed
* #RI-1902 - set thick border for 'Disable Encryption' button
* remove unnecessary 'will-change CSS property
1 parent 506ca6e commit 3d9d21f

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

redisinsight/ui/src/components/notifications/components/EncryptionErrorContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const EncryptionErrorContent = (props: Props) => {
5252
size="s"
5353
color="warning"
5454
onClick={disableEncryption}
55-
className="toast-danger-btn"
55+
className="toast-danger-btn euiBorderWidthThick"
5656
data-testid="toast-action-btn"
5757
>
5858
Disable Encryption

redisinsight/ui/src/pages/home/components/HelpLinksMenu/styles.module.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
padding: 10px 20px;
2727
background-color: transparent !important;
2828
transition: background-color 0.3s ease-in-out;
29-
will-change: background-color;
3029
text-decoration: none !important;
3130
font: normal normal bold 12px/17px Graphik, sans-serif;
3231
letter-spacing: 0;

redisinsight/ui/src/pages/workbench/components/enablament-area/EnablementArea/components/Group/styles.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
backface-visibility: hidden;
44
border-bottom: 1px solid transparent;
55
transition: border-color 0.2s ease-in-out;
6-
will-change: border-color;
76
.group-header {
87
font: normal normal medium 11px/15px Graphik;
98
letter-spacing: 1.1px;

redisinsight/ui/src/pages/workbench/components/enablament-area/EnablementArea/styles.module.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
height: 100%;
3636
transform: translateX(calc(100% + 8px));
3737
backface-visibility: hidden;
38-
will-change: transform;
3938
transition: transform 0.4s ease-in-out;
4039
box-shadow: -5px 1px 10px rgba(0, 0, 0, 0.2);
4140
}

redisinsight/ui/src/styles/components/_buttons.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '@elastic/eui/src/global_styling/index';
2+
13
.euiButton {
24
&.euiButton--secondary {
35
color: var(--buttonSecondaryTextColor) !important;
@@ -36,6 +38,9 @@
3638
}
3739
}
3840
}
41+
.euiButton.euiBorderWidthThick {
42+
border-width: $euiBorderWidthThick;
43+
}
3944

4045
.euiButton.euiButton-isDisabled.euiButton--fill {
4146
opacity: 0.6;

0 commit comments

Comments
 (0)