Skip to content

Finalize backport of style fixes to metadata page#2473

Merged
giohappy merged 1 commit into5.0.xfrom
complete_backport_50x_css_metadata_enhancements
Mar 27, 2026
Merged

Finalize backport of style fixes to metadata page#2473
giohappy merged 1 commit into5.0.xfrom
complete_backport_50x_css_metadata_enhancements

Conversation

@giohappy
Copy link
Copy Markdown

No description provided.

@giohappy giohappy requested review from allyoucanmap and anup39 and removed request for allyoucanmap March 27, 2026 12:18
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the metadata styling in the GeoNode theme by removing an unnecessary !important declaration from horizontal rules and setting a minimum width for definition terms within a grid layout. A review comment suggests replacing the hardcoded 200px value with a LESS variable to enhance maintainability and consistency.

grid-template-columns: max-content auto;
padding: 0 0.75rem;
dt {
min-width: 200px;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To improve maintainability, it's better to use variables instead of magic numbers. Consider defining 200px as a LESS variable in a centralized variables file (e.g., _variables.less) and using it here. This makes future updates to layout values easier and more consistent.

@giohappy giohappy merged commit ff00a08 into 5.0.x Mar 27, 2026
1 check passed
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.

2 participants