Skip to content

Commit

Permalink
prevent footer moving up
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesC-MHCLG committed Nov 26, 2024
1 parent 321931d commit fc35751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gov_uk_dashboards/assets/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -9259,6 +9259,7 @@ mark.expenditure {
transition: all 0.3s ease; /* Smooth transition for hover effect */
transform-origin: center; /* Ensures scaling is centered */
position: relative; /* Makes it independent of surrounding elements */
contain: layout paint; /* Prevents changes from affecting layout */
}

.homepage-card-grid-item:hover {
Expand Down
1 change: 1 addition & 0 deletions scss/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,7 @@ mark.expenditure {
transition: all 0.3s ease; /* Smooth transition for hover effect */
transform-origin: center; /* Ensures scaling is centered */
position: relative; /* Makes it independent of surrounding elements */
contain: layout paint; /* Prevents changes from affecting layout */
}

.homepage-card-grid-item:hover {
Expand Down

0 comments on commit fc35751

Please sign in to comment.