Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Fix] Fix Thumbnail Loading Animation #813

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions portals/devportal/src/main/webapp/site/public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -416,12 +416,12 @@
.image-load-frame {
background: #efefef;
width: 100%;
height: 145px;
height: 50px;
position: relative;
}
div.image-load-animation1 {
width: 40px;
height: 145px;
width: 20px;
height: 50px;
background-color: #efefef;
position: absolute;
-webkit-animation-name: image-load-animation1; /* Safari 4.0 - 8.0 */
Expand All @@ -431,8 +431,8 @@ div.image-load-animation1 {
animation-iteration-count: 2;
}
div.image-load-animation2 {
width: 40px;
height: 145px;
width: 20px;
height: 50px;
background-color: #efefef;
position: absolute;
-webkit-animation-name: image-load-animation2; /* Safari 4.0 - 8.0 */
Expand All @@ -445,13 +445,13 @@ div.image-load-animation2 {
/* Standard syntax */
@keyframes image-load-animation1 {
0% {background-color:#efefef; left:0px; top:0px;}
70% {background-color:#e3e3e3; left:160px; top:0px;}
50% {background-color:#e3e3e3; left:15px; top:0px;}
100% {background-color:#efefef; left:0px; top:0px;}
}
@keyframes image-load-animation2 {
0% {background-color:#efefef; left:100px; top:0px;}
75% {background-color:#e3e3e3; left:160px; top:0px;}
100% {background-color:#efefef; left:0px; top:0px;}
0% {background-color:#efefef; left:30px; top:0px;}
50% {background-color:#e3e3e3; left:45px; top:0px;}
100% {background-color:#efefef; left:30px; top:0px;}
}
body {
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const Root = styled('div')((
padding: theme.spacing(),
border: 'solid 1px',
borderColor: theme.palette.grey[800],
width: 100,
},

[`& .${classes.chipRoot}`]: {
Expand Down
Loading