Skip to content

Commit f6ab484

Browse files
fix: Error style breaking on mobile devices (#813)
1 parent 706f3d1 commit f6ab484

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

task-requests/style.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,15 +362,18 @@ body {
362362
display: grid;
363363
grid-template-columns: repeat(4, 1fr);
364364
gap: 1rem;
365+
justify-items: center;
365366
}
366367
.taskRequest__message {
367-
line-height: 1.25rem;
368+
line-height: 1.2;
368369
font-weight: 600;
369370
text-align: center;
370371
font-size: 1.5rem;
371372
width: 100%;
372373
position: absolute;
374+
word-wrap: break-word;
373375
}
376+
374377
.taskRequest__message--error {
375378
color: var(--color-error);
376379
font-weight: 600;
@@ -482,6 +485,10 @@ body {
482485
.funnel-icon {
483486
margin: auto;
484487
}
488+
489+
.taskRequest__message--error {
490+
position: static;
491+
}
485492
}
486493

487494
@media screen and (max-width: 320px) {

0 commit comments

Comments
 (0)