forked from mystiq/hydrogen-web
use justify/align-self rather than auto margins, works better in IE11
This commit is contained in:
parent
a21765757d
commit
708893022a
1 changed files with 7 additions and 3 deletions
|
@ -686,17 +686,21 @@ button.link {
|
|||
background-repeat: no-repeat;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: auto;
|
||||
align-self: center;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.lightbox .loading {
|
||||
grid-area: content;
|
||||
margin: auto;
|
||||
align-self: center;
|
||||
justify-self: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.lightbox .close {
|
||||
display: block;
|
||||
grid-area: close;
|
||||
margin-left: auto;
|
||||
justify-self: end;
|
||||
background-image: url('icons/dismiss.svg');
|
||||
background-position: center;
|
||||
background-size: 16px;
|
||||
|
|
Loading…
Reference in a new issue