naive-ui/demo/styles/demo.css
07akioni 5491320f9e fix: add -webkit-text-size-adjust to global style
IOS safari will have error font size if not set.
2021-04-06 17:45:42 +08:00

62 lines
949 B
CSS

@import 'Metropolis.css';
body {
overflow: hidden;
}
@media only screen and (max-width: 639px) {
body {
overflow: visible;
}
.md-table-wrapper {
overflow: auto;
margin: 0 -16px;
display: flex;
flex-wrap: nowrap;
}
.md-table-wrapper::before,
.md-table-wrapper::after {
content: '';
width: 16px;
flex-shrink: 0;
}
}
.demo-card .demo-card__view:not(:first-child) {
margin-top: 16px;
}
.demo-card .demo-card__view pre {
font-family: v-mono, monospace;
}
.demo-card .demo-card__view code {
font-family: v-mono, monospace;
}
.demo-card code.n-text {
white-space: nowrap;
}
.n-documentation .n-p,
.n-blockquote {
max-width: 680px;
}
.md-table-wrapper {
margin-bottom: 16px;
}
.md-table .n-table__td:nth-child(1) {
font-size: 0.93em !important;
font-family: v-mono, monospace;
}
.md-table .n-text.n-text--code {
font-size: 0.93em !important;
}
.md-card {
margin-bottom: 16px;
}