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

chore: update less files for compatibility with less v4 #2851

Merged
merged 1 commit into from
Sep 17, 2024
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
85 changes: 63 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion uPortal-webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"compile-less": "lessc build/generated-sources/skin/main/webapp/media/skins/respondr/defaultSkin.less build/generated-sources/skin/main/webapp/media/skins/respondr/defaultSkin.css"
},
"devDependencies": {
"less": "^3.13.0"
"less": "^4.2.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -326,15 +326,15 @@ section.emergency-alert {
/* large screens show all 6 columns. */
@media only screen and (min-width: @screen-sm-min) {
.portal-page-column.col-md-2 {
width: percentage(1 / 6);
width: percentage( (1/6) );
float: left;
}
}

@media only screen and (max-width: @screen-xs-max) {
/* collapse from 6 to 3 columns */
.portal-page-column.col-md-2 {
width: percentage(1 / 3);
width: percentage( (1/3) );
float: left;
}
}
Expand All @@ -343,14 +343,14 @@ section.emergency-alert {
@media only screen and (max-width: (@screen-xs-max + @screen-xs-min) / 2) {
/* collapse from 6 to 2 columns */
.portal-page-column.col-md-2 {
width: percentage(1 / 2);
width: percentage( (1/2) );
float: left;
}
}

@media only screen and (max-width: @screen-xs-min / 2) {
/* on really small screen collapse to a single column */
.portal-page-column.col-md-2 {
width: percentage(1 / 1);
width: percentage( (1/1) );
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
.fl-reorderer-dropMarker {
// required for drag and drop styling to work
@media (min-width: @@interpolate-media-query) {
width: percentage(1 / @number-of-columns);
width: percentage( (1/@number-of-columns) );
}
}
}
Expand Down