Skip to content

Commit 1ea310f

Browse files
authored
Merge pull request #1234 from RedisInsight/fe/bugfix/RI-3610
#RI-3610 - fix focus on buttons in enablement area
2 parents d674823 + 11e196c commit 1ea310f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

redisinsight/ui/.eslintrc.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,20 @@ module.exports = {
7979
'index',
8080
],
8181
pathGroups: [
82+
{
83+
pattern: 'apiSrc/**',
84+
group: 'internal',
85+
position: 'after'
86+
},
8287
{
8388
pattern: '{.,..}/*.scss', // same directory only
8489
// pattern: '{.,..}/**/*\.scss' // same & outside directories (e.g. import '../foo/foo.scss')
8590
group: 'object',
8691
position: 'after'
8792
}
8893
],
89-
warnOnUnassignedImports: true
94+
warnOnUnassignedImports: true,
95+
pathGroupsExcludedImportTypes: ['builtin']
9096
},
9197
],
9298
},

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,10 @@
44
justify-content: space-between;
55
position: relative;
66
&[class*='euiButton--secondary']:not([class*='isDisabled']) {
7-
&:hover,
8-
&:focus,
9-
&:focus-within {
7+
&:hover {
108
background-color: var(--euiColorSecondary) !important;
119
border-color: var(--euiColorSecondary) !important;
12-
}
13-
}
14-
&:not(:hover) {
15-
span {
16-
color: var(--euiTextSubduedColor);
10+
color: var(--euiColorPrimaryText) !important;
1711
}
1812
}
1913

0 commit comments

Comments
 (0)