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

Commit

Permalink
fix: [BB-4143] Reused style in registration (#786)
Browse files Browse the repository at this point in the history
* fix: Reused style in registration

Signed-off-by: Farhaan Bukhsh <farhaan@opencraft.com>
  • Loading branch information
farhaanbukhsh committed May 9, 2021
1 parent 686eb62 commit 56bb49d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
@@ -1,8 +1,5 @@
@import '~styles/theme';

.registration-container {
background-image: url("~assets/header-background.jpg");
background-color: $primary-1;
background-size: 100% 350px;
background-repeat: no-repeat;
@include set-header-background;
}
7 changes: 7 additions & 0 deletions frontend/src/styles/_theme.scss
Expand Up @@ -81,3 +81,10 @@ body {
color: $secondary-1;
}
}

@mixin set-header-background {
background-image: url("~assets/header-background.jpg");
background-color: $primary-1;
background-size: 100% 350px;
background-repeat: no-repeat;
}
5 changes: 1 addition & 4 deletions frontend/src/ui/components/ContentPage/styles.scss
Expand Up @@ -6,10 +6,7 @@
flex-direction: column;
align-items: stretch;
width: 100%;
background-image: url("~assets/header-background.jpg");
background-color: $primary-1;
background-size: 100% 350px;
background-repeat: no-repeat;
@include set-header-background;

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

0 comments on commit 56bb49d

Please sign in to comment.