Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
Add better name for the class
Browse files Browse the repository at this point in the history
Signed-off-by: Farhaan Bukhsh <[email protected]>
  • Loading branch information
farhaanbukhsh committed May 7, 2021
1 parent 16ae10a commit 11f40de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import '~styles/theme';

.registration-container {
@include add-background-image;
@include set-header-background;
}
2 changes: 1 addition & 1 deletion frontend/src/styles/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ body {
}
}

@mixin add-background-image {
@mixin set-header-background {
background-image: url("~assets/header-background.jpg");
background-color: $primary-1;
background-size: 100% 350px;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/ui/components/ContentPage/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
flex-direction: column;
align-items: stretch;
width: 100%;
@include add-background-image;
@include set-header-background;

.title-container {
margin: 60px;
Expand Down

0 comments on commit 11f40de

Please sign in to comment.