fix(directory): svg css fix

This commit is contained in:
Haoyu Xu
2023-06-25 04:24:05 -04:00
parent 716c6b29e5
commit f4bf1ea61f
5 changed files with 16 additions and 8 deletions

View File

@@ -17,4 +17,5 @@ export default function CharIcon(props) {
CharIcon.propTypes = {
viewBox: PropTypes.string,
type: PropTypes.string,
style: PropTypes.object,
};

View File

@@ -121,9 +121,12 @@
}
.item_icon {
width: 1rem;
fill: var(--text-color);
transition: fill cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
svg {
width: 1rem;
fill: var(--text-color);
}
}
&:hover,