Tidy up pseudo-element references
This commit is contained in:
@ -60,7 +60,7 @@ Renders an alert component with `type` prop.
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert .close:after {
|
.alert .close::after {
|
||||||
content: 'x';
|
content: 'x';
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Renders a tree view of a JSON object or array with collapsible content.
|
|||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.tree-element:before {
|
div.tree-element::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 24px;
|
top: 24px;
|
||||||
|
|||||||
Reference in New Issue
Block a user