Skip to content

Commit fe8c2a8

Browse files
crisbetodevversion
authored andcommitted
fix: margins between expansion panels
Fixes that the assistant button was throwing off the margins between the expansion panels, because they use sibling selectors for it and the button was between the panels.
1 parent 311fed1 commit fe8c2a8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

report-app/src/app/pages/report-viewer/report-viewer.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -182,18 +182,6 @@ <h4>Repair System Prompt</h4>
182182
</expansion-panel>
183183
}
184184

185-
<button #aiAssistButton class="fab" (click)="isAiAssistantVisible.set(true)">
186-
<span class="material-symbols-outlined">smart_toy</span>
187-
</button>
188-
189-
@defer (on interaction(aiAssistButton)) {
190-
<app-ai-assistant
191-
[class.hidden]="!isAiAssistantVisible()"
192-
[reportGroupId]="reportGroupId()"
193-
(close)="isAiAssistantVisible.set(false)"
194-
/>
195-
}
196-
197185
@if (missingDeps().length > 0) {
198186
<expansion-panel size="large" class="root-section">
199187
<expansion-panel-header>
@@ -238,6 +226,18 @@ <h4>Logs</h4>
238226
</expansion-panel>
239227
}
240228

229+
<button #aiAssistButton class="fab" (click)="isAiAssistantVisible.set(true)">
230+
<span class="material-symbols-outlined">smart_toy</span>
231+
</button>
232+
233+
@defer (on interaction(aiAssistButton)) {
234+
<app-ai-assistant
235+
[class.hidden]="!isAiAssistantVisible()"
236+
[reportGroupId]="reportGroupId()"
237+
(close)="isAiAssistantVisible.set(false)"
238+
/>
239+
}
240+
241241
<h2>Generated applications</h2>
242242
@if (allFailedChecks().length > 0) {
243243
<details class="filter-dropdown" #dropdown>

0 commit comments

Comments
 (0)