Skip to content

Commit 26855fe

Browse files
committed
Fix margin and padding issues in AIAssistantModal for consistent layout
1 parent a9ebf27 commit 26855fe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
height: 100%;
66
display: flex;
77
flex-direction: column;
8+
margin-top: 0;
9+
padding-top: 0;
810
}
911

1012
.ai-assistant-modal {
@@ -24,7 +26,7 @@
2426
--max-height: 85vh;
2527

2628
&::part(content) {
27-
margin: 2rem 1rem 5rem;
29+
margin: 0 1rem 5rem;
2830
}
2931
}
3032

@@ -34,6 +36,7 @@
3436
display: flex;
3537
flex-direction: column;
3638
transition: margin 0.3s ease-out;
39+
padding: 0;
3740
}
3841

3942
.ai-assistant-header {
@@ -127,6 +130,8 @@
127130
display: flex;
128131
flex-direction: column;
129132
height: 100%;
133+
margin-top: 0;
134+
padding-top: 0;
130135
}
131136
}
132137

@@ -150,5 +155,6 @@ ion-modal.ai-assistant-modal {
150155

151156
&::part(content) {
152157
transition: transform 0.3s cubic-bezier(0.36, 0.66, 0.04, 1);
158+
padding-top: 0;
153159
}
154160
}

0 commit comments

Comments
 (0)