mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09: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;
|
||||
align-items: center;
|
||||
// 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 {
|
||||
max-height: 55vmin;
|
||||
max-width: 100vw;
|
||||
object-fit: contain;
|
||||
width: auto;
|
||||
// prevent webkit from partly repainting the frame
|
||||
box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
&[data-status='t0'] {
|
||||
@@ -24,6 +26,8 @@
|
||||
max-width: 100vw;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// prevent webkit from partly repainting the frame
|
||||
box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
|
||||
|
||||
img {
|
||||
transition: all 0.5s ease-in-out 2s;
|
||||
@@ -31,6 +35,8 @@
|
||||
width: auto;
|
||||
max-width: 100vw;
|
||||
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;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// prevent webkit from partly repainting the frame
|
||||
box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
|
||||
|
||||
img {
|
||||
transition: all 1s ease-in-out 0s;
|
||||
@@ -71,6 +79,8 @@
|
||||
max-width: 100vw;
|
||||
object-fit: contain;
|
||||
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