Skip to content

Commit

Permalink
Set min width and remove flex on swagger info at mobile (#86)
Browse files Browse the repository at this point in the history
* Set min width and remove flex on swagger info at mobile
  • Loading branch information
dgading authored May 31, 2022
1 parent 915c963 commit 002c660
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@civicactions/cmsds-open-data-components",
"version": "1.12.1",
"version": "1.12.2",
"description": "Components for the open data catalog frontend using CMS Design System",
"main": "lib/index.js",
"scripts": {
Expand Down
10 changes: 10 additions & 0 deletions src/styles/scss/templates/swagger.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@
min-width: 80px !important;
}
}

.swagger-ui .opblock-tag-section {
min-width: 460px;
}

@media (max-width: 544px) {
.swagger-ui .opblock-tag small {
flex: initial;
}
}

0 comments on commit 002c660

Please sign in to comment.