Skip to content

Commit e328659

Browse files
committed
style: adjust size for result in travel planner
1 parent 464510e commit e328659

2 files changed

Lines changed: 1 addition & 12 deletions

File tree

src/app/domains/ticketing/ai/travel-planner/travel-planner-page.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@
6868
cursor: pointer;
6969
}
7070

71-
@media (max-width: 900px) {
72-
.form-grid {
73-
grid-template-columns: minmax(0, 1fr);
74-
}
75-
}
76-
7771
.status-bar {
7872
display: flex;
7973
flex-wrap: wrap;

src/app/domains/ticketing/ai/travel-planner/travel-planner-page.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {
22
ChangeDetectionStrategy,
33
Component,
44
computed,
5-
DestroyRef,
65
inject,
76
signal,
87
} from '@angular/core';
@@ -50,7 +49,7 @@ const WORKFLOW_STEP_LABELS: Record<string, string> = {
5049
})
5150
export class TravelPlannerPage {
5251
private readonly config = inject(ConfigService);
53-
private readonly destroyRef = inject(DestroyRef);
52+
5453
private readonly fb = inject(FormBuilder);
5554

5655
protected readonly durations = DURATION_OPTIONS;
@@ -130,10 +129,6 @@ export class TravelPlannerPage {
130129

131130
protected readonly showToolDetails = signal(false);
132131

133-
constructor() {
134-
this.destroyRef.onDestroy(() => this.chat.destroy());
135-
}
136-
137132
protected submit(): void {
138133
if (this.form.invalid || this.chat.isLoading()) {
139134
return;

0 commit comments

Comments
 (0)