Skip to content

Commit

Permalink
Refactor deprecated division in SCSS to use calc()
Browse files Browse the repository at this point in the history
  • Loading branch information
r-tae committed Sep 12, 2024
1 parent b1ddbb6 commit 6f47659
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions assets/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ $gaps: (
gap: $gap;

hr {
margin-top: -($gap / 2);
margin-bottom: -($gap / 2);
margin-top: calc($gap / -2);
margin-bottom: calc($gap / -2);
}
}
}
Expand Down Expand Up @@ -149,6 +149,7 @@ footer {
table tr [phx-click] {
cursor: pointer;
}

table tr:has([phx-click]) {
cursor: pointer;

Expand Down Expand Up @@ -419,11 +420,11 @@ table tr:has([phx-click]) {
border-radius: 2px;

&.citation {
background-color: #3374ff;
background-color: #3374ff; /* TODO: make navy or similar */
}

&.variant {
background-color: #709dff;
background-color: #709dff; /* TODO: make sky blue */
}

&.english_entry {
Expand Down

0 comments on commit 6f47659

Please sign in to comment.