File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed
js/show/components/fields/text Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 22@layer components {
33 .content {
44 > : where (h1 ) {
5- @apply mt-6 border-b pb-2 text-3xl font-semibold tracking-tight;
5+ @apply mb-3 text-xl font-semibold tracking-tight border-b pb-0.5 ;
66 }
77 > : where (h2 ) {
8- @apply mt-6 text-2xl font-semibold tracking-tight;
8+ @apply mb-2 text-lg font-semibold tracking-tight;
99 }
1010 > : where (h3 ) {
11- @apply mt-4 text-xl font-semibold tracking-tight;
11+ @apply mb-1.5 text-sm font-semibold tracking-tight;
1212 }
1313 > : where (h4 , h5 , h6 ) {
14- @apply mt-4 font-semibold;
14+ @apply mb-1 font-semibold;
1515 }
1616 > : where (p ) {
17- @apply mt -4;
17+ @apply mb -4;
1818 }
1919 > : where (ul ) {
20- @apply mt -4 ml-6 list-disc [& > li]: mt-2 ;
20+ @apply mb -4 ml-6 list-disc [& > li]: mt-2 ;
2121 }
2222 > : where (ol ) {
23- @apply mt -4 ml-6 list-decimal [& > li]: mt-2 ;
23+ @apply mb -4 ml-6 list-decimal [& > li]: mt-2 ;
2424 }
2525 > : where (blockquote ) {
26- @apply mt -4 relative flow-root pl-4 border-l-2 before:block before:-mt-0.5;
26+ @apply mb -4 relative flow-root pl-4 border-l-2 before:block before:-mt-0.5;
2727 > : where (p , ul , ol ) {
2828 @apply mt-2;
2929 }
3535 }
3636 }
3737 > : where (table ) {
38- @apply mt -4 w-full;
38+ @apply mb -4 w-full;
3939 : where (tr ) {
4040 @apply m-0 border-t p-0 even:bg-muted;
4141 }
5050 @apply rounded bg-muted px-[0.3rem ] py-[0.2rem ] font-mono text-sm;
5151 }
5252 > : where (pre ) {
53- @apply mt -4 !whitespace-pre overflow-x-auto;
53+ @apply mb -4 !whitespace-pre overflow-x-auto;
5454 > : where (code ) {
5555 @apply block py-2 px-4 bg-muted rounded-md [font-size:inherit];
5656 }
5757 }
5858 > : where (hr ) {
59- @apply mt -4;
59+ @apply mb -4;
6060 }
6161 : where (a : not ([style ], [class ])) {
6262 @apply relative p-1.5 -m-1.5 text-primary underline underline-offset-4 decoration-primary/20 hover:decoration-inherit;
Original file line number Diff line number Diff line change 7373 <ShowFieldLayout v-bind =" props" >
7474 <template v-if =" currentContent && field .html " >
7575 <TextRenderer
76- class =" content content-sm text-sm"
76+ class =" content content-sm text-sm [:where( & )_:where(h1,h2,h3)]:text-foreground/75 "
7777 :content =" currentContent"
7878 :field =" field"
7979 />
8080 </template >
8181 <template v-else >
82- <div class =" content content-sm text-sm" >
82+ <div class =" text-sm" >
8383 {{ currentContent }}
8484 </div >
8585 </template >
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export default defineConfig(({ mode, command }) => {
4949 ] ,
5050 publicDirectory : '/dist' ,
5151 refresh : [
52- 'demo/app/Sharp/**/*.php' ,
52+ // 'demo/app/Sharp/**/*.php',
5353 ] ,
5454 // refresh: true,
5555 detectTls : env . APP_URL ?. startsWith ( 'https' )
You can’t perform that action at this time.
0 commit comments