fix: make agent error modal taller on mobile so full message is visible from top
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
7
.changeset/agent-error-modal-mobile-height.md
Normal file
7
.changeset/agent-error-modal-mobile-height.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
"@runfusion/fusion": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Make the agent error details modal taller on mobile so the full error
|
||||||
|
message is visible from the top, with the error pre flexing to fill the
|
||||||
|
available height instead of capping at a small fixed height.
|
||||||
@@ -45,7 +45,27 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
.modal-overlay:has(.agent-error-modal) {
|
||||||
|
padding-top: var(--space-md);
|
||||||
|
align-items: stretch;
|
||||||
|
}
|
||||||
|
|
||||||
.agent-error-modal {
|
.agent-error-modal {
|
||||||
width: calc(100% - var(--space-lg));
|
width: calc(100% - var(--space-lg));
|
||||||
|
max-height: calc(100vh - var(--space-lg) * 2);
|
||||||
|
flex: 1 1 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.agent-error-modal__content {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
min-height: 0;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.agent-error-modal__error {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
max-height: none;
|
||||||
|
min-height: 0;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user