Skip to content

fix: equalize card height for Linked records - #1126

Closed
liptakpanna wants to merge 1 commit into
CERNDocumentServer:masterfrom
liptakpanna:linked-records-card-heights
Closed

liptakpanna wants to merge 1 commit into
CERNDocumentServer:masterfrom
liptakpanna:linked-records-card-heights

Conversation

@liptakpanna

@liptakpanna liptakpanna commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1124 and adds missing margin below the section

Equal card height:

Screenshot 2026-12-03 at 14 23 31

Missing margin before:

Screenshot 2026-12-03 at 15 33 41

After:

Screenshot 2026-12-03 at 15 34 50

Summary by CodeRabbit

  • Style
    • Improved the layout of linked-record cards to reserve space for two lines of title text.
    • Adjusted spacing around the linked-records section.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

An error occurred during the review process. Please try again later.

Walkthrough

The linked-record grid card headers now have a minimum height of 2.57em to reserve space for two title lines. The linked-records section also adds the rel-mb-1 class.

Changes: Linked record layout

Layer / File(s) Summary
Card height and section spacing
assets/less/cds-rdm/views/item.overrides, site/cds_rdm/templates/semantic-ui/cds_rdm/records/detail.html
Linked-record card headers now have a 2.57em minimum height. The linked-records section adds the rel-mb-1 class.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix · Severity of issue fixed: Low

Possibly related issues

Possibly related PRs

Suggested reviewers: mihai-dev2000, kpsherva

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@liptakpanna

Copy link
Copy Markdown
Contributor Author

commit added to #1123 because of interfering changes

@liptakpanna liptakpanna closed this Dec 3, 2026
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.

Fix Linked records card height differs

1 participant