File tree 1 file changed +4
-4
lines changed
client/packages/lowcoder/src/comps/comps
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,6 @@ const getStyle = (style: TextStyleType) => {
26
26
border-radius : ${ ( style . radius ? style . radius : "4px" ) } ;
27
27
border : ${ ( style . borderWidth ? style . borderWidth : "0px" ) } solid ${ style . border } ;
28
28
color : ${ style . text } ;
29
- font-size : ${ style . textSize } !important ;
30
- font-weight : ${ style . textWeight } !important ;
31
- font-family : ${ style . fontFamily } !important ;
32
- font-style : ${ style . fontStyle } !important ;
33
29
text-transform : ${ style . textTransform } !important ;
34
30
text-decoration : ${ style . textDecoration } !important ;
35
31
background-color : ${ style . background } ;
@@ -40,6 +36,9 @@ const getStyle = (style: TextStyleType) => {
40
36
margin : ${ style . margin } !important ;
41
37
padding : ${ style . padding } ;
42
38
width : ${ widthCalculator ( style . margin ) } ;
39
+ font-family : ${ style . fontFamily } !important ;
40
+ font-style : ${ style . fontStyle } !important ;
41
+ font-size : ${ style . textSize } !important ;
43
42
// height: ${ heightCalculator ( style . margin ) } ;
44
43
h1 {
45
44
line-height : 1.5 ;
@@ -60,6 +59,7 @@ const getStyle = (style: TextStyleType) => {
60
59
h5 ,
61
60
h6 {
62
61
color : ${ style . text } ;
62
+ font-weight : ${ style . textWeight } !important ;
63
63
}
64
64
img ,
65
65
pre {
You can’t perform that action at this time.
0 commit comments