Parcourir la source

20261013 編輯器字級字重樣式調整

S.K. il y a 1 mois
Parent
révision
8f5e987a5d

+ 9
- 0
resources/views/vendor/filament-lexical-editor/lexical-editor.blade.php Voir le fichier

@@ -31,6 +31,15 @@
31 31
             class="editor-shell w-full"
32 32
         >
33 33
 
34
+            <style>
35
+                .lexical__h2 { font-size: 22px; font-weight: 500; }
36
+                .lexical__h3 { font-size: 18px; font-weight: 400; }
37
+                .lexical__h4 { font-size: 18px; font-weight: 400; }
38
+                .lexical__h5 { font-size: 17.008px; font-weight: 400; }
39
+                .lexical__listItem { font-size: 15px; font-weight: 400; }
40
+                .lexical__paragraph { font-size: 15px; font-weight: 400; }
41
+            </style>
42
+
34 43
             <div class="toolbar flex-wrap">
35 44
                 @foreach($getEnabledToolbars() as $toolbar)
36 45
                     <x-filament-lexical-editor::toolbar :toolbar="$toolbar"/>