Skip to content

Commit

Permalink
Complete MVP
Browse files Browse the repository at this point in the history
  • Loading branch information
Yng808 committed Jan 25, 2024
1 parent e6402ad commit 419d139
Show file tree
Hide file tree
Showing 5 changed files with 214 additions and 84 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ module.exports = {
// STANDARDIZED BY: eslint\conf\eslint-recommended.js
'no-control-regex': 2,
// STANDARDIZED BY: eslint\conf\eslint-recommended.js
'no-debugger': 1,
'no-debugger': 0,
// STANDARDIZED BY: eslint\conf\eslint-recommended.js
'no-delete-var': 2,
// RATIONALE: Catches code that is likely to be incorrect
Expand Down
6 changes: 4 additions & 2 deletions src/webparts/betterHero/BetterHeroWebPart.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';

:root {
--hero-image-opacity: .5;
}

/*
.betterHero {
Expand Down Expand Up @@ -45,7 +47,7 @@
}

.cardImgOverlay {
background: rgba(0, 0, 0, 0.5);
background: rgba(0, 0, 0, var(--hero-image-opacity));
bottom: 0;
top: auto;
}
Expand Down
Loading

0 comments on commit 419d139

Please sign in to comment.