1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Merge pull request #55 from ascribe/fix-spinner-centering

Use line-height to center spinner-inner
This commit is contained in:
Tim Daubenschütz 2015-12-08 17:22:51 +01:00
commit 0868d4ce70

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 {