Skip to content

Commit c6674cc

Browse files
committed
Add landscape height rules to content styles in Home module
- target buttons get clipped in landscape - do not correctly stick to top edge when there is not enough space to render them centered └── apps └── editor └── src └── views └── prompt └── frontend ├── Home │ ├── Home.module.scss │ └── Home.tsx └── Main └── MainView ├── MainView.module.scss ├── MainView.tsx ├── components │ ├── BrowserConnectionStatus │ │ ├── BrowserConnectionStatus.tsx │ │ └── index.ts │ ├── Header │ │ ├── Header.module.scss │ │ ├── Header.tsx │ │ └── index.ts │ └── PromptAttachments │ ├── PromptAttachments.tsx │ └── index.ts ├── hooks │ ├── use-browser-connection-status.ts │ ├── use-invocation-counts.ts │ ├── use-keyboard-shortcuts.ts │ ├── use-last-choice-tooltip.ts │ └── use-re-render-on-interval.ts ├── index.ts └── prompt-type-labels.ts
1 parent 39976bb commit c6674cc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎apps/editor/src/views/prompt/frontend/Home/Home.module.scss‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@
110110
> * {
111111
flex-shrink: 0;
112112
}
113+
114+
@include landscape {
115+
height: max-content;
116+
min-height: 100%;
117+
}
113118
}
114119

115120
.inner {

0 commit comments

Comments
 (0)