Skip to content

Commit

Permalink
Updated css % opacity values to fix 1% issue
Browse files Browse the repository at this point in the history
The % opacity css values were all being changed to 1% in my builds, which I belive was due to this issue: cssnano/cssnano#892 so I switched them to specify decimal opacity values instead.
  • Loading branch information
mtoohey31 committed Jan 3, 2021
1 parent 6cd97fc commit 11f45ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Recipe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,6 @@ export default {
margin-top: -10px;
}
.disabled-card {
opacity: 50%;
opacity: 0.5;
}
</style>
2 changes: 1 addition & 1 deletion frontend/src/components/RecipeEditor/DetailsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ export default {

<style>
.disabled-card {
opacity: 50%;
opacity: 0.5;
}
</style>
2 changes: 1 addition & 1 deletion frontend/src/components/RecipeEditor/EditRecipe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export default {

<style>
.disabled-card {
opacity: 50%;
opacity: 0.5;
}
.my-divider {
margin: 0 -1px;
Expand Down

0 comments on commit 11f45ef

Please sign in to comment.