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

Drop unused gridstack specific styles #18712

Merged

Conversation

cedric-anne
Copy link
Member

Checklist before requesting a review

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.

Description

These styles seems to be unused. The grid is redefined in

for (let i = 0; i < this.cols; i++) {
const left = i * width_percent;
const width = (i+1) * width_percent;
style+= this.elem_id+" .grid-stack > .grid-stack-item[gs-x='"+i+"'] { \
left: "+left+"%; \
} \
"+this.elem_id+" .grid-stack > .grid-stack-item[gs-w='"+(i+1)+"'] { \
min-width: "+width_percent+"%; \
width: "+width+"%; \
}";
}

@cedric-anne cedric-anne added this to the 11.0.0 milestone Jan 13, 2025
@cedric-anne cedric-anne self-assigned this Jan 13, 2025
@cedric-anne cedric-anne merged commit 5bb568d into glpi-project:main Jan 13, 2025
9 checks passed
@cedric-anne cedric-anne deleted the 11.0/drop-gridstack-specific-css branch January 13, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants