mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-01 03:11:44 +02:00
Fix broken attribute references (#4011)
This commit is contained in:
@@ -125,7 +125,7 @@ const Leaf = ({ attributes, children, leaf }) => {
|
||||
leaf.tag ||
|
||||
leaf.constant ||
|
||||
leaf.symbol ||
|
||||
leaf.attr - name ||
|
||||
leaf['attr-name'] ||
|
||||
leaf.selector) &&
|
||||
css`
|
||||
color: #905;
|
||||
@@ -138,7 +138,7 @@ const Leaf = ({ attributes, children, leaf }) => {
|
||||
css`
|
||||
color: #690;
|
||||
`}
|
||||
${(leaf.function || leaf.class - name) &&
|
||||
${(leaf.function || leaf['class-name']) &&
|
||||
css`
|
||||
color: #dd4a68;
|
||||
`}
|
||||
|
Reference in New Issue
Block a user