fix(directory): svg css fix
This commit is contained in:
@@ -17,4 +17,5 @@ export default function CharIcon(props) {
|
|||||||
CharIcon.propTypes = {
|
CharIcon.propTypes = {
|
||||||
viewBox: PropTypes.string,
|
viewBox: PropTypes.string,
|
||||||
type: PropTypes.string,
|
type: PropTypes.string,
|
||||||
|
style: PropTypes.object,
|
||||||
};
|
};
|
||||||
@@ -121,9 +121,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.item_icon {
|
.item_icon {
|
||||||
width: 1rem;
|
|
||||||
fill: var(--text-color);
|
|
||||||
transition: fill cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
|
transition: fill cubic-bezier(0.65, 0.05, 0.36, 1) 0.3s;
|
||||||
|
|
||||||
|
svg {
|
||||||
|
width: 1rem;
|
||||||
|
fill: var(--text-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
|
|||||||
@@ -120,9 +120,6 @@ export default function Root() {
|
|||||||
viewBox={
|
viewBox={
|
||||||
headerIcon === 'operator' ? '0 0 88.969 71.469' : '0 0 94.563 67.437'
|
headerIcon === 'operator' ? '0 0 88.969 71.469' : '0 0 94.563 67.437'
|
||||||
}
|
}
|
||||||
style={{
|
|
||||||
height: "2.5rem"
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -103,8 +103,11 @@
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 1.5rem;
|
|
||||||
fill: var(--text-color);
|
svg {
|
||||||
|
width: 1.5rem;
|
||||||
|
fill: var(--text-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,9 +17,13 @@
|
|||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
margin-right: 1.5rem;
|
margin-right: 1.5rem;
|
||||||
fill: var(--text-color);
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
|
svg {
|
||||||
|
fill: var(--text-color);
|
||||||
|
height: 2.5rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user