shlink-web-client/src/utils/mixins/vertical-align.scss
2020-03-07 12:07:51 +01:00

5 lines
132 B
SCSS

@mixin vertical-align($extraTransforms: null) {
position: absolute;
top: 50%;
transform: translateY(-50%) $extraTransforms;
}