Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dart sass 2.0 division deprecations #3544

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@babel/runtime": "^7.16.7",
"@fortawesome/fontawesome-free": "^5.15.4",
"@fortawesome/fontawesome-free": "^6.1.1",
"@hotwired/turbo-rails": "^7.1.0",
"@popperjs/core": "^2.11.0",
"@rails/ujs": "^6.1.4-1",
Expand Down
6 changes: 3 additions & 3 deletions src/rails_admin/styles/base/theming.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body.rails_admin {

img {
position: absolute;
top: ((40px - $avatar-size) / 2);
top: calc((40px - $avatar-size) / 2);

& + span {
margin-left: ($avatar-size + 5px);
Expand All @@ -33,14 +33,14 @@ body.rails_admin {
padding: 0;

.dropdown-header {
padding: ($grid-gutter-width / 2) ($grid-gutter-width / 2) 3px;
padding: calc($grid-gutter-width / 2) calc($grid-gutter-width / 2) 3px;
font-weight: bold;
color: $gray-700;
text-transform: uppercase;
}

> li > a {
padding: ($navbar-padding-y / 2) ($grid-gutter-width / 2);
padding: calc($navbar-padding-y / 2) calc($grid-gutter-width / 2);

&.active {
background-color: map-get($theme-colors, primary);
Expand Down
Binary file removed vendor/assets/fonts/rails_admin/fa-solid-900.eot
Binary file not shown.
5,034 changes: 0 additions & 5,034 deletions vendor/assets/fonts/rails_admin/fa-solid-900.svg

This file was deleted.

Binary file modified vendor/assets/fonts/rails_admin/fa-solid-900.ttf
Binary file not shown.
Binary file removed vendor/assets/fonts/rails_admin/fa-solid-900.woff
Binary file not shown.
Binary file modified vendor/assets/fonts/rails_admin/fa-solid-900.woff2
Binary file not shown.
Loading