Skip to content

Fix vertical alignment for description rows in Swagger UI model box#164

Merged
moskvin merged 2 commits into
masterfrom
css-misaligned-fix-for-models
May 28, 2026
Merged

Fix vertical alignment for description rows in Swagger UI model box#164
moskvin merged 2 commits into
masterfrom
css-misaligned-fix-for-models

Conversation

@moskvin

@moskvin moskvin commented May 27, 2026

Copy link
Copy Markdown
Contributor
Screenshot 2026-05-27 at 22 07 43

@github-actions

github-actions Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

Danger Report

No issues found.

View run

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Fixes vertical alignment for description rows inside the Swagger UI model box by extending the existing baseline alignment rule to tr.description > td.

Changes:

  • Add CSS selector for tr.description > td alongside the existing tr.property-row > td rule.
  • Update CHANGELOG.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
app/assets/stylesheets/grape_swagger_rails/index.css Apply baseline vertical alignment to description rows in the model box.
CHANGELOG.md Add changelog entry referencing PR #164.

@dblock

dblock commented May 28, 2026

Copy link
Copy Markdown
Member

This looks ok, but same question as in the previous PR - does this belong upstream in the UI project?

@moskvin moskvin merged commit 0310c05 into master May 28, 2026
11 checks 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.

3 participants