soapbox/app/styles/components/icon.scss

20 lines
325 B
SCSS
Raw Normal View History

2021-09-12 23:54:38 +00:00
.svg-icon {
width: 16px;
height: 16px;
display: flex;
align-items: center;
justify-content: center;
> svg {
2021-09-20 20:33:28 +00:00
// Apparently this won't skew the image as long as it has a viewbox
width: 100%;
height: 100%;
2021-09-12 23:54:38 +00:00
}
}
.icon-button > div {
display: flex;
align-items: center;
justify-content: center;
}