Skip to content

Commit c855726

Browse files
Merge pull request #2985 from RedisInsight/fe/feature/RI-5351-update-db-form
#RI-5351 - update styles for db form
2 parents b4b9d53 + 895c0e4 commit c855726

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

redisinsight/ui/src/pages/home/components/database-panel/DatabasePanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ const DatabasePanel = React.memo((props: Props) => {
205205
)
206206

207207
return (
208-
<>
208+
<div className="databasePanelWrapper">
209209
<div className={cx('container relative', { addDbWrapper: !editMode })}>
210210
{!isFullWidth && onClose && (
211211
<EuiToolTip
@@ -235,7 +235,7 @@ const DatabasePanel = React.memo((props: Props) => {
235235
{Form()}
236236
</div>
237237
<div id="footerDatabaseForm" />
238-
</>
238+
</div>
239239
)
240240
})
241241

redisinsight/ui/src/pages/home/styles.scss

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,15 +278,18 @@
278278
}
279279
}
280280

281+
.databasePanelWrapper {
282+
height: 100%;
283+
background-color: var(--euiColorEmptyShade);
284+
}
285+
281286
.container {
282287
@include euiScrollBar;
283288

284-
background-color: var(--euiColorEmptyShade);
285289
overflow-y: auto;
286290
overflow-x: hidden;
287-
height: calc(100% - 57px);
291+
height: calc(100% - 74px);
288292
padding: 40px 30px 25px;
289-
border: 1px solid var(--euiColorPrimary);
290293
margin-right: 5px;
291294
border-radius: 4px;
292295

@@ -331,8 +334,10 @@
331334
text-align: right;
332335
vertical-align: bottom;
333336
width: 100%;
334-
padding: 15px 24px 0;
337+
padding: 16px 24px 16px;
335338
border-radius: 0 0 4px 4px;
339+
340+
border-top: 1px solid var(--euiColorLightShade);
336341
}
337342

338343
.euiResizableContainer {

0 commit comments

Comments
 (0)