Skip to content

Commit

Permalink
chore: update less files for compatibility with less v4 (#2851)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjagg authored Sep 17, 2024
1 parent be09282 commit d6bb8f5
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 28 deletions.
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

0 comments on commit d6bb8f5

Please sign in to comment.