Skip to content

Commit 002c660

Browse files
authored
Set min width and remove flex on swagger info at mobile (#86)
* Set min width and remove flex on swagger info at mobile
1 parent 915c963 commit 002c660

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@civicactions/cmsds-open-data-components",
3-
"version": "1.12.1",
3+
"version": "1.12.2",
44
"description": "Components for the open data catalog frontend using CMS Design System",
55
"main": "lib/index.js",
66
"scripts": {

src/styles/scss/templates/swagger.scss

+10
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@
99
min-width: 80px !important;
1010
}
1111
}
12+
13+
.swagger-ui .opblock-tag-section {
14+
min-width: 460px;
15+
}
16+
17+
@media (max-width: 544px) {
18+
.swagger-ui .opblock-tag small {
19+
flex: initial;
20+
}
21+
}

0 commit comments

Comments
 (0)