Skip to content

Commit 31deddc

Browse files
authored
RI-7282 - Inline editting of the TTL for hashes has the buttons not aligned (#4838)
1 parent 44f8f2b commit 31deddc

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

redisinsight/ui/src/components/inline-item-editor/InlineItemEditor.styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const ActionsContainer = styled(Row)<ActionsContainerProps>`
150150
width: ${({ $width }) => $width || '80px'};
151151
height: ${({ $height }) => $height || '33px'};
152152
padding: ${({ theme }: { theme: Theme }) => theme.core.space.space050};
153-
153+
align-items: center;
154154
z-index: 3;
155155
${({ $position }) => positions[$position || 'inside']}
156156
${({ $design }) => designs[$design || 'default']}

redisinsight/ui/src/pages/browser/modules/key-details/components/hash-details/hash-details-table/HashDetailsTable.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ const HashDetailsTable = (props: Props) => {
575575
validation={validateTTLNumber}
576576
isEditDisabled={isTruncatedFieldName}
577577
editToolTipContent={editTooltipContent}
578+
578579
>
579580
<div className="innerCellAsCell">
580581
{expire === -1 ? (

redisinsight/ui/src/pages/browser/modules/key-details/components/rejson-details/styles.module.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
}
119119

120120
.row {
121-
min-height: 25px;
122121
position: relative;
123122
display: flex;
124123
align-items: center;
@@ -146,10 +145,6 @@
146145
> div, span, button {
147146
z-index: 1;
148147
}
149-
150-
div {
151-
min-height: 25px;
152-
}
153148
}
154149

155150
.topRow {

0 commit comments

Comments
 (0)