Skip to content

Commit 6739dc0

Browse files
Merge pull request #58 from RedisInsight/fix/RI-2059_db-help-links
Fix/ HelpLinksMenu styles
2 parents 8eb4939 + 53affc6 commit 6739dc0

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

redisinsight/ui/src/pages/home/components/HelpLinksMenu/HelpLinksMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const HelpLinksMenu = ({ onLinkClick }: IProps) => {
5454

5555
return (
5656
<EuiInputPopover
57-
style={{ minWidth: '244px' }}
57+
style={{ width: '245px' }}
5858
display="block"
5959
id="databasesMenu"
6060
input={button}

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
@import '@elastic/eui/src/global_styling/index';
22

3+
$borderWidth: 2px;
4+
35
.button {
46
@include euiButtonBase;
57
display: flex;
6-
width: 100%;
8+
min-width: 245px;
79
justify-content: space-between;
810
align-items: center;
911
border-radius: 4px;
10-
border: 2px solid var(--controlsBorderColor);
12+
border: $borderWidth solid var(--euiColorSecondary);
1113
padding: 0 20px;
1214
color: var(--inputTextColor);
1315
font: normal normal bold 14px/17px Graphik, sans-serif;
1416
}
1517

1618
.buttonOpen {
17-
border-bottom-color: var(--separatorColor) !important;;
19+
border-bottom-width: 0 !important;
20+
padding-bottom: $borderWidth;
1821
border-radius: 4px 4px 0 0;
1922
}
2023

2124
.popover {
22-
border: 2px solid var(--controlsBorderColor) !important;
25+
border: $borderWidth solid var(--euiColorSecondary) !important;
26+
background-color: var(--euiPageBackgroundColor) !important;
2327
border-top-width: 0 !important;
2428
}
2529

2630
.item {
27-
padding: 10px 20px;
31+
padding: 10px 20px !important;
2832
background-color: transparent !important;
2933
text-decoration: none !important;
3034
font: normal normal bold 12px/17px Graphik, sans-serif;

0 commit comments

Comments
 (0)