fix(directory): svg css fix

This commit is contained in:
Haoyu Xu
2023-06-25 04:24:05 -04:00
parent 4cd9a7e83b
commit aa6fc5d77e
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 {
transition: fill cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
svg {
width: 1rem;
fill: var(--text-color);
transition: fill cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
}
}
&:hover,

View File

@@ -120,9 +120,6 @@ export default function Root() {
viewBox={
headerIcon === 'operator' ? '0 0 88.969 71.469' : '0 0 94.563 67.437'
}
style={{
height: "2.5rem"
}}
/>
</section>
)}

View File

@@ -103,10 +103,13 @@
flex-direction: row;
align-items: baseline;
text-align: center;
svg {
width: 1.5rem;
fill: var(--text-color);
}
}
}
.wrapper {
overflow: hidden;

View File

@@ -17,9 +17,13 @@
.icon {
margin-right: 1.5rem;
fill: var(--text-color);
display: inline-block;
vertical-align: middle;
svg {
fill: var(--text-color);
height: 2.5rem;
}
}
@media (max-width: 600px) {