Skip to content

Commit 8d3c1eb

Browse files
committed
finalize form dialog and manage tags modal
1 parent 52d638a commit 8d3c1eb

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

redisinsight/ui/src/components/form-dialog/FormDialog.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ const FormDialog = (props: Props) => {
2121

2222
return (
2323
<Modal.Compose open={isOpen}>
24-
<Modal.Content.Compose
24+
<Modal.Content.Compose
25+
persistent
2526
className={`${styles.modal} ${className}`}
2627
onCancel={onClose}
2728
>

redisinsight/ui/src/pages/home/components/database-manage-tags-modal/ManageTagsModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export const ManageTagsModal = ({
104104
<FormDialog
105105
isOpen
106106
onClose={onClose}
107+
className={styles.manageTagsModal}
107108
header={
108109
<div className={styles.header}>
109110
<Title size="M">Manage tags for {instance.name}</Title>
@@ -142,7 +143,6 @@ export const ManageTagsModal = ({
142143
</div>
143144
</>
144145
}
145-
className={styles.manageTagsModal}
146146
>
147147
<div className={styles.tagForm}>
148148
<div className={styles.tagFormHeader}>

redisinsight/ui/src/pages/home/components/database-manage-tags-modal/styles.module.scss

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
.manageTagsModal {
22
position: fixed !important;
3-
right: 0;
4-
top: 0;
3+
right: 0 !important;
54
width: 50% !important;
65
height: 100% !important;
76
max-height: 100% !important;
87
overflow-y: auto;
9-
z-index: 1000 !important;
10-
11-
:global {
12-
.euiModalFooter {
13-
padding: 0 !important;
14-
background-color: inherit;
15-
}
16-
}
178

189
.header {
1910
padding-left: 14px;
@@ -29,7 +20,7 @@
2920
}
3021

3122
.addTagButton {
32-
margin-left: 32px;
23+
margin-left: 12px;
3324
color: var(--euiColorPrimary) !important;
3425
}
3526

@@ -44,7 +35,7 @@
4435
}
4536

4637
.tagForm {
47-
margin: 0px 32px;
38+
margin: 20px 12px;
4839
border: 1px solid var(--separatorColor);
4940
border-radius: 8px;
5041

0 commit comments

Comments
 (0)