-
Notifications
You must be signed in to change notification settings - Fork 404
RI-7598 Change visuals of the "Import sample data" popover #5036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
4a8f13d
fix(ui): remove additional background color overrides changng the sty…
valkirilov c5e601e
fix(ui): added spacing between the buttons in the tutorial popovers
valkirilov ce0a625
refactor(ui): cleanup no longer used styles
valkirilov 464c02a
fix(ui): added spacing between the buttons in the JSON key override p…
valkirilov faa04e5
fix(ui): fix position of info button when removing multiple fields fr…
valkirilov 8fa8548
fix(ui): update popover notifications spacing
valkirilov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
redisinsight/ui/src/pages/browser/components/load-sample-data/styles.module.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
.popover { | ||
min-width: 380px !important; | ||
} | ||
|
||
.buttonWrapper { | ||
.loadDataBtn { | ||
height: 36px !important; | ||
|
||
:global(.euiButton__text) { | ||
font-size: 14px !important; | ||
font-weight: 400 !important; | ||
} | ||
} | ||
} | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ import { | |
} from 'uiSrc/components/base/forms/buttons' | ||
import { Text } from 'uiSrc/components/base/text' | ||
import { RiPopover } from 'uiSrc/components/base' | ||
import styles from '../../styles.module.scss' | ||
import { Row } from 'uiSrc/components/base/layout/flex' | ||
import { Spacer } from 'uiSrc/components/base/layout' | ||
|
||
interface ConfirmOverwriteProps { | ||
isOpen: boolean | ||
|
@@ -37,8 +38,8 @@ const ConfirmOverwrite = ({ | |
You already have the same JSON key. If you proceed, a value of the | ||
existing JSON key will be overwritten. | ||
</Text> | ||
|
||
<div className={styles.confirmDialogActions}> | ||
<Spacer size="l" /> | ||
<Row justify="end" gap="m"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
<SecondaryButton | ||
aria-label="Cancel" | ||
size="small" | ||
|
@@ -56,7 +57,7 @@ const ConfirmOverwrite = ({ | |
> | ||
Overwrite | ||
</PrimaryButton> | ||
</div> | ||
</Row> | ||
</RiPopover> | ||
) | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,22 +35,5 @@ | |
} | ||
|
||
.popoverLikeTooltip { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the actual change related to this PR. Sorry for the other minor fixes and refactoring. |
||
border: none; | ||
max-width: 267px !important; | ||
background-color: var(--euiTooltipBackgroundColor) !important; | ||
.euiPopover__panelArrow.euiPopover__panelArrow--bottom:after { | ||
border-bottom-color: var(--euiTooltipBackgroundColor) !important; | ||
} | ||
|
||
.euiPopover__panelArrow.euiPopover__panelArrow--right:after { | ||
border-right-color: var(--euiTooltipBackgroundColor) !important; | ||
} | ||
|
||
.euiPopover__panelArrow.euiPopover__panelArrow--left:after { | ||
border-left-color: var(--euiTooltipBackgroundColor) !important; | ||
} | ||
|
||
.euiPopover__panelArrow.euiPopover__panelArrow--top:after { | ||
border-top-color: var(--euiTooltipBackgroundColor) !important; | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bonus Points: Not related to the changes of the popover colors, but I fixed this minimal spacing issue as well.