mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(skin): responsive design fixes and improvements (#1129)
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
========================================================================== */
|
||||
|
||||
.media-default-skin {
|
||||
container: media-root / inline-size;
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
container: media-root / inline-size;
|
||||
border-radius: var(--media-border-radius, 2rem);
|
||||
font-family:
|
||||
Inter Variable,
|
||||
@@ -16,9 +16,18 @@
|
||||
ui-sans-serif,
|
||||
system-ui,
|
||||
sans-serif;
|
||||
font-size: 0.8125rem;
|
||||
line-height: 1.5;
|
||||
letter-spacing: normal;
|
||||
-webkit-font-smoothing: auto;
|
||||
-moz-osx-font-smoothing: auto;
|
||||
|
||||
& > * {
|
||||
font-size: 0.75rem; /* 12px at 100% font size */
|
||||
}
|
||||
|
||||
@container media-root (width > 48rem) {
|
||||
& > * {
|
||||
font-size: 0.875rem; /* 14px at 100% font size */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user