Fixed some math operations in LESS after bumping less plugin version

This commit is contained in:
Andrii V 2025-12-08 18:18:42 +01:00
parent 7346bdc00b
commit 048df19e63
4 changed files with 7 additions and 4 deletions

View file

@ -249,13 +249,13 @@
.field-sm {
.label {
padding-top: @input-padding-px / 2 + @input-border-thickness;
padding-top: (@input-padding-px / 2) + @input-border-thickness;
}
.checkboxes,
.radios {
// TODO: johbo: We get a 4px margin from the from-bootstrap,
// compensating here to align well with labels on the left.
padding-top: @input-padding-px / 2 + @input-border-thickness - 3px;
padding-top: (@input-padding-px / 2) + @input-border-thickness - 3px;
}
}

View file

@ -2117,7 +2117,7 @@ BIN_FILENODE = 7
.notification-header{
display: table;
width: 100%;
padding: floor(@basefontsize/2) 0;
padding: floor((@basefontsize / 2)) 0;
line-height: 1em;
.desc, .delete-notifications, .read-notifications{

View file

@ -56,7 +56,7 @@
.circle (@radius:20,@color:#000) {
height: @radius;
width: @radius;
padding: round(@radius/2);
padding: round((@radius / 2));
font-size: @radius;
line-height:1em;
.border-radius(50%);

View file

@ -28,6 +28,9 @@ export class RhodecodeApp extends LitElement {
connectedCallback() {
super.connectedCallback();
ccLog.debug("rhodeCodeApp created");
}
firstUpdated() {
$.Topic("/notifications").subscribe(this.handleNotifications.bind(this));
$.Topic("/comment").subscribe(this.handleComment.bind(this));
$.Topic("/favicon/update").subscribe(this.faviconUpdate.bind(this));