Skip to content

Commit

Permalink
fix(layout): allow scrolling within validation table (#4277)
Browse files Browse the repository at this point in the history
Refs #3625
  • Loading branch information
char0n committed Jul 17, 2023
1 parent 6fec9ad commit a54403d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.swagger-editor {
&__validation-table {
height: 100%;
width: 100%;
font-size: 0.8rem;
font-weight: 300;
Expand All @@ -17,6 +18,10 @@
outline: none;
}

thead tr {
display: block;
}

thead th {
min-width: 2.0rem;
padding: 2px 2px 2px 0.25rem;
Expand All @@ -30,6 +35,9 @@
}

tbody {
display: block;
width: 100%;
height: 100px;
max-height: 100px;
overflow: auto;
}
Expand Down

0 comments on commit a54403d

Please sign in to comment.