fix(ui): fill the viewport instead of a rounded inset frame
This commit is contained in:
1 parent
095b4ccfb5
commit
343da517bf
2 files changed
+3
-20
No files matched your search
@@ -236,7 +236,6 @@
|
||||
@apply bg-background text-foreground;
|
||||
@apply font-sans;
|
||||
background: var(--background);
|
||||
padding: 1rem;
|
||||
}
|
||||
/* The focus floor. A component may style its own focus state; this
|
||||
guarantees that nothing is ever focused and invisible for a keyboard
|
||||
@@ -246,14 +245,6 @@
|
||||
outline: 2px solid var(--primary);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
/* The frame is a desktop affordance: below this width the workspace goes
|
||||
edge to edge, because a rounded card inset on a phone wastes the only
|
||||
axis that matters. */
|
||||
@media (width < 64rem) {
|
||||
body {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
/* Rows in a floating menu are the one thing a finger cannot aim at with a
|
||||
mouse's precision, and a min height there cannot deform a layout because
|
||||
the panel is sized by its content. Everything else keeps its own size:
|
||||
|
||||
Reference in new issue
Block a user