Skip to content

Commit 0310c05

Browse files
authored
Fix vertical alignment for description rows in Swagger UI model box (#164)
* Fix vertical alignment for description rows in Swagger UI model box * Update CHANGELOG.md to include fix for vertical alignment in Swagger UI model box
1 parent b494d6e commit 0310c05

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### Next Release
22

33
* [#158](https://github.com/ruby-grape/grape-swagger-rails/pull/158): Switch yarn to project-local cache so `.pnp.cjs` paths are stable across machines - [@moskvin](https://github.com/moskvin).
4+
* [#164](https://github.com/ruby-grape/grape-swagger-rails/pull/164): Fix vertical alignment for description rows in swagger ui model box - [@moskvin](https://github.com/moskvin).
45
* Your contribution here.
56

67
### 1.0.2 (2026/05/26)

app/assets/stylesheets/grape_swagger_rails/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ html[data-theme="dark"] .swagger-ui .model-box {
231231
border-color: #475569;
232232
}
233233

234+
.swagger-ui .model-box table.model tr.description > td,
234235
.swagger-ui .model-box table.model tr.property-row > td {
235236
vertical-align: baseline;
236237
}

0 commit comments

Comments
 (0)