naive-ui/styles/Icon.scss

19 lines
286 B
SCSS
Raw Normal View History

2019-07-03 13:23:42 +08:00
@import "./fonts/ionicons.scss";
2019-06-24 01:16:38 +08:00
.n-icon {
height: 1em;
width: 1em;
2019-06-26 14:20:13 +08:00
line-height: 1em;
2019-06-24 01:16:38 +08:00
text-align: center;
display: inline-block;
position: relative;
&::before {
2019-06-26 14:20:13 +08:00
line-height: 1em;
2019-06-24 01:16:38 +08:00
width: 1em;
2019-06-26 14:20:13 +08:00
height: 1em;
2019-06-24 01:16:38 +08:00
position: absolute;
top: 0;
left: 0;
}
2019-07-03 13:23:42 +08:00
}