refactor(ui): optimize layout responsiveness and component positioning

- Switch to dynamic viewport height (dvh) for better mobile support
- Implement fixed positioning for chat input using :host-context
- Simplify home page layout logic and remove redundant padding
- Disable Angular CLI analytics in configuration
This commit is contained in:
Peyman Honarjoo
2026-10-07 23:02:57 +03:30
parent d22cd65e28
commit dd0a661919
3 changed files with 13 additions and 6 deletions
+2 -6
View File
@@ -3,7 +3,8 @@
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
min-height: 100dvh;
box-sizing: border-box;
padding: 2rem 1rem;
transition: padding 0.4s ease;
position: relative;
@@ -31,7 +32,6 @@
.home-page.has-messages {
justify-content: flex-end;
padding-bottom: 2rem;
background: var(--app-bg);
}
@@ -146,10 +146,6 @@
padding: 1.25rem 0.75rem;
}
.home-page.has-messages {
padding-bottom: 1.25rem;
}
.home-header {
top: 1.25rem;
}
@@ -2,6 +2,14 @@
display: block;
}
:host-context(.has-messages) {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 10;
}
.ai-chat-input-wrapper {
width: 100%;
max-width: 800px;