Skip to content

Commit 739e7c1

Browse files
committed
fix(demo): keep constant height of AppSettings dialog and show borders with RTL
1 parent 9e3faec commit 739e7c1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

examples/vite/src/AppSettings/AppSettings.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
}
2121
}
2222

23-
.app__actions-menu {
23+
.str-chat__dialog-contents.app__actions-menu,
24+
.str-chat__context-menu.app__actions-menu {
2425
min-width: min(320px, calc(100vw - 32px));
2526
max-width: min(320px, calc(100vw - 32px));
2627
}
@@ -249,8 +250,7 @@
249250
display: flex;
250251
flex-direction: column;
251252
width: min(920px, 90vw);
252-
max-height: min(80vh, 760px);
253-
min-height: min(520px, 72vh);
253+
height: min(80vh, 760px);
254254
background: var(--background-core-elevation-2);
255255
color: var(--text-primary);
256256
border: 1px solid var(--border-core-default);
@@ -282,7 +282,7 @@
282282
.app__settings-modal__tabs {
283283
overflow-y: auto;
284284
overscroll-behavior: contain;
285-
border-right: 1px solid var(--border-core-default);
285+
border-inline-end: 1px solid var(--border-core-default);
286286
padding: 10px;
287287
}
288288

@@ -383,7 +383,7 @@
383383
}
384384

385385
.app__settings-modal__tabs {
386-
border-right: 1px solid var(--border-core-default);
386+
border-inline-end: 1px solid var(--border-core-default);
387387
border-bottom: 0;
388388
display: block;
389389
gap: 0;

0 commit comments

Comments
 (0)