mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 05:29:31 -07:00
add box shadow to prevent webkit from partly repainting the frame
This commit is contained in:
@@ -8,13 +8,15 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
// prevent webkit from partly repainting the frame
|
// prevent webkit from partly repainting the frame
|
||||||
box-shadow: 0 0 1px rgba(0, 0, 0, 0.05);
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-height: 55vmin;
|
max-height: 55vmin;
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
// prevent webkit from partly repainting the frame
|
||||||
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
&[data-status='t0'] {
|
&[data-status='t0'] {
|
||||||
@@ -24,6 +26,8 @@
|
|||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
// prevent webkit from partly repainting the frame
|
||||||
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
|
||||||
|
|
||||||
img {
|
img {
|
||||||
transition: all 0.5s ease-in-out 2s;
|
transition: all 0.5s ease-in-out 2s;
|
||||||
@@ -31,6 +35,8 @@
|
|||||||
width: auto;
|
width: auto;
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
// prevent webkit from partly repainting the frame
|
||||||
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -64,6 +70,8 @@
|
|||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
// prevent webkit from partly repainting the frame
|
||||||
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
|
||||||
|
|
||||||
img {
|
img {
|
||||||
transition: all 1s ease-in-out 0s;
|
transition: all 1s ease-in-out 0s;
|
||||||
@@ -71,6 +79,8 @@
|
|||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
// prevent webkit from partly repainting the frame
|
||||||
|
box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user