Skip to content

Commit

Permalink
FIx responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesmile82 committed Aug 23, 2023
1 parent f3beee6 commit d9ea6e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/assets/stylesheets/tpi/pages/company.scss
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,14 @@
background-color: rgba($tpi-level5-background-color, 0.15);
// Use z-index to make sure the question is below the icon
z-index: -1;

// Use transform, padding and width to show the background on the full space of the question
@include until($desktop) {
width: calc(100% + #{$assesment-level-padding} + #{$assesment-level-padding});
transform: translate(-27px, 0px);
padding: 13px $assesment-level-padding 8px 27px;
}

width: calc(100% + #{$assesment-level-padding} + #{$assesment-level-padding});
transform: translate(-$assesment-level-padding, -13px);
padding: 13px $assesment-level-padding 8px $assesment-level-padding;
Expand Down

0 comments on commit d9ea6e6

Please sign in to comment.