Skip to content

Commit 7c49845

Browse files
committed
Refactor AIAssistantModal styles for improved layout and responsiveness
1 parent dce45d9 commit 7c49845

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

frontend/src/common/components/AIAssistant/AIAssistantModal.scss

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,27 @@
7272
--padding: 0;
7373

7474
flex: 1;
75-
overflow: scroll;
76-
height: 80%;
75+
overflow-y: auto;
76+
height: 70%;
7777
}
7878

7979
.ai-assistant-footer {
80-
background: transparent;
81-
position: relative;
80+
position: sticky;
81+
bottom: 0;
82+
width: 100%;
83+
z-index: 10;
84+
background-color: var(--ion-background-color);
8285
display: flex;
8386
justify-content: center;
8487
align-items: center;
8588
padding: 0.5rem 0;
8689
}
90+
91+
.ai-assistant-modal-body {
92+
display: flex;
93+
flex-direction: column;
94+
height: 100%;
95+
}
8796
}
8897

8998
// Screen reader only class

0 commit comments

Comments
 (0)