fix(ui): resolve MDX paragraph line-height inheritance, implement drag-to-scroll slider, disable UI text selection
Former-commit-id: 4d03da2ca22a0119d156db12c9c1722bbba5a29e
This commit is contained in:
@@ -207,32 +207,31 @@
|
||||
h5,
|
||||
h6 {
|
||||
@apply font-heading font-bold tracking-tight;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
/* Enhanced Mobile-first typography hierarchy with fluid sizing */
|
||||
h1 {
|
||||
@apply text-3xl md:text-5xl lg:text-6xl leading-[1.1];
|
||||
@apply text-3xl md:text-5xl lg:text-6xl;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@apply text-2xl md:text-4xl lg:text-5xl leading-[1.2];
|
||||
@apply text-2xl md:text-4xl lg:text-5xl;
|
||||
}
|
||||
|
||||
h3 {
|
||||
@apply text-xl md:text-2xl lg:text-3xl leading-[1.3];
|
||||
@apply text-xl md:text-2xl lg:text-3xl;
|
||||
}
|
||||
|
||||
h4 {
|
||||
@apply text-lg md:text-xl lg:text-2xl leading-[1.4];
|
||||
@apply text-lg md:text-xl lg:text-2xl;
|
||||
}
|
||||
|
||||
h5 {
|
||||
@apply text-base md:text-lg leading-[1.5];
|
||||
@apply text-base md:text-lg;
|
||||
}
|
||||
|
||||
h6 {
|
||||
@apply text-sm md:text-base leading-[1.6];
|
||||
@apply text-sm md:text-base;
|
||||
}
|
||||
|
||||
/* Paragraph and text styles */
|
||||
|
||||
Reference in New Issue
Block a user