Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/app/src/new-session/location/dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
max-height: min(calc(100vh - 96px), 480px);
min-height: 0;
margin-top: max(48px, calc((100vh - 480px) / 2));
background: var(--v2-background-bg-layer-01);
background: var(--v2-background-bg-base);
box-shadow: var(--v2-elevation-overlay);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/providers/connect/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const DialogConnectProvider: Component<{
<Dialog
preventBackdropDismiss={state.authorization}
// The top edge stays where the provider list puts it, so a step that fits its content only moves the bottom edge.
containerClass={`!self-start !bg-v2-background-bg-base [--connect-top:max(8px,calc((100vh_-_512px)/2))] !mt-[var(--connect-top)] !w-[min(calc(100vw_-_16px),640px)] ${
containerClass={`!self-start !rounded-[12px] !bg-v2-background-bg-base [--connect-top:max(8px,calc((100vh_-_512px)/2))] !mt-[var(--connect-top)] !w-[min(calc(100vw_-_16px),640px)] ${
state.modelProvider
? "!h-[min(calc(100vh_-_8px_-_var(--connect-top)),560px)]"
: controller.selected()
Expand Down
5 changes: 5 additions & 0 deletions packages/app/src/providers/models/manage.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
padding: 0 6px 8px;
}

[data-component="dialog-v2"]:has(.settings-manage-models-dialog) [data-slot="dialog-container"] {
border-radius: 12px;
background: var(--v2-background-bg-base);
}

.settings-manage-models-dialog .settings-panel.settings-models {
height: 100%;
gap: 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/providers/models/select-dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
[data-component="dialog-v2"]:has(.model-dialog) [data-slot="dialog-container"] {
width: min(calc(100vw - 24px), 480px);
min-height: 0;
border-radius: 10px;
border-radius: 12px;
background: var(--v2-background-bg-base);
}

Expand Down
7 changes: 1 addition & 6 deletions packages/app/src/shell/commands/dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
max-height: min(calc(100vh - 96px), 480px);
min-height: 0;
margin-top: max(48px, calc((100vh - 480px) / 2));
background: var(--v2-background-bg-layer-01);
background: var(--v2-background-bg-base);
box-shadow: var(--v2-elevation-overlay);
}

Expand Down Expand Up @@ -202,11 +202,6 @@

[data-slot="search-list-header"] {
padding-inline: 12px;
background: var(--v2-background-bg-layer-01);
}

[data-slot="search-list-fade"]::before {
background: linear-gradient(var(--v2-background-bg-layer-01), transparent);
}

[data-slot="search-list-row"] {
Expand Down
4 changes: 0 additions & 4 deletions packages/app/src/shell/search-list.css
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,6 @@
grid-row: 2;
}

[data-component="dialog-v2"]:has(.fork-dialog) [data-slot="dialog-container"] {
border-radius: 10px;
}

.fork-dialog [data-slot="search-list-search"] {
padding: 6px 6px 9px;

Expand Down
Loading