fix live photo layout
This commit is contained in:
parent
4256b0ef95
commit
3089ca2939
|
@ -79,6 +79,7 @@ const GlobalStyles = createGlobalStyle`
|
||||||
}
|
}
|
||||||
|
|
||||||
.pswp-item-container > * {
|
.pswp-item-container > * {
|
||||||
|
position: absolute;
|
||||||
transition: opacity 1s ease;
|
transition: opacity 1s ease;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
@ -92,12 +93,8 @@ const GlobalStyles = createGlobalStyle`
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pswp-item-container > div.spinner-border {
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pswp-item-container > div.download-banner {
|
.pswp-item-container > div.download-banner {
|
||||||
position: absolute;
|
|
||||||
width:100%;
|
width:100%;
|
||||||
height: 16vh;
|
height: 16vh;
|
||||||
padding:2vh 0;
|
padding:2vh 0;
|
||||||
|
|
Loading…
Reference in a new issue