mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
use relative unit for line-height to avoid a fixed line-height being inherited and then be wrong for an element that didn't define own line-height
This commit is contained in:
1 parent
9443a17cc1
commit
b80bbc0002
1 file changed
+2
-2
@@ -34,8 +34,8 @@ export const createRootInstance = (breakpoints: Array<Breakpoint>) => {
|
||||
},
|
||||
lineHeight: {
|
||||
type: "unit",
|
||||
unit: "px",
|
||||
value: 20,
|
||||
unit: "number",
|
||||
value: 1.5,
|
||||
},
|
||||
color: {
|
||||
type: "keyword",
|
||||
|
||||
Reference in new issue
Block a user