Skip to content

Commit b64a464

Browse files
committed
Enhance AIAssistantModal styles for better layout and sticky header functionality
1 parent 7c49845 commit b64a464

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
border-radius: 1rem;
44
width: 100%;
55
height: 100%;
6+
display: flex;
7+
flex-direction: column;
68
}
79

810
.ai-assistant-modal {
@@ -35,6 +37,12 @@
3537
}
3638

3739
.ai-assistant-header {
40+
position: sticky;
41+
top: 0;
42+
z-index: 10;
43+
width: 100%;
44+
background-color: var(--ion-background-color);
45+
3846
ion-toolbar {
3947
--padding-top: 0.5rem;
4048
--padding-bottom: 0.5rem;

0 commit comments

Comments
 (0)