1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Use line-height to center spinner-inner

This commit is contained in:
Brett Sun 2015-12-08 13:33:41 +01:00
parent 847b59366c
commit 57c85198ed

View File

@ -114,17 +114,20 @@ $ascribe--spinner-size-sm: 15px;
} }
.spinner-wrapper-lg .spinner-inner { .spinner-wrapper-lg .spinner-inner {
font-size: $ascribe--spinner-size-lg; font-size: $ascribe--spinner-size-lg;
top: -64px; line-height: $ascribe--spinner-size-lg;
top: -50px;
} }
.spinner-wrapper-md .spinner-inner { .spinner-wrapper-md .spinner-inner {
font-size: $ascribe--spinner-size-md; font-size: $ascribe--spinner-size-md;
top: -38px; line-height: $ascribe--spinner-size-md;
top: -30px;
} }
.spinner-wrapper-sm .spinner-inner { .spinner-wrapper-sm .spinner-inner {
font-size: $ascribe--spinner-size-sm; font-size: $ascribe--spinner-size-sm;
top: -19px; line-height: $ascribe--spinner-size-sm;
top: -15px;
} }
@-webkit-keyframes spin { @-webkit-keyframes spin {