produzione 1 #9

Merged
JoeKung merged 135 commits from dev into main 2026-03-03 09:58:04 +01:00
3 changed files with 42 additions and 8 deletions
Showing only changes of commit f3d271ded2 - Show all commits

View File

@@ -18,8 +18,19 @@
} }
} }
.col-input, .col-result { .col-input {
min-width: 0; /* Prevent grid blowout */ min-width: 0;
}
.col-result {
min-width: 0;
display: flex;
flex-direction: column;
/* Make children (specifically app-card) stretch */
> * {
flex: 1;
}
} }
/* Mode Selector (Segmented Control style) */ /* Mode Selector (Segmented Control style) */
@@ -57,17 +68,17 @@
.benefits { padding-left: var(--space-4); color: var(--color-text-muted); line-height: 2; } .benefits { padding-left: var(--space-4); color: var(--color-text-muted); line-height: 2; }
.loading-state {
display: flex;
align-items: center;
justify-content: center;
min-height: 300px; /* Match typical result height */
}
.loader-content { .loader-content {
text-align: center; text-align: center;
max-width: 300px; max-width: 300px;
margin: 0 auto; margin: 0 auto;
/* Center content vertically within the stretched card */
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
} }
.loading-title { .loading-title {

View File

@@ -1,3 +1,8 @@
:host {
display: block;
height: 100%;
}
.card { .card {
background-color: var(--color-bg-card); background-color: var(--color-bg-card);
border-radius: var(--radius-lg); border-radius: var(--radius-lg);
@@ -5,6 +10,8 @@
box-shadow: var(--shadow-sm); box-shadow: var(--shadow-sm);
padding: var(--space-6); padding: var(--space-6);
transition: box-shadow 0.2s; transition: box-shadow 0.2s;
height: 100%;
box-sizing: border-box;
&:hover { &:hover {
box-shadow: var(--shadow-md); box-shadow: var(--shadow-md);

View File

@@ -58,6 +58,22 @@
border-style: solid; border-style: solid;
border-color: transparent transparent white transparent; border-color: transparent transparent white transparent;
} }
/* Mobile Fixed Positioning */
@media (max-width: 768px) {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 280px; /* Provide enough width for touch targets */
max-width: 90vw; /* Safety constraint */
box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Stronger shadow for modal feel */
/* Hide arrow on mobile since it's detached from trigger */
&::before {
display: none;
}
}
} }
.category { .category {