From a54403d5336aafe829eb338dc07b5bbced7ab74e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Gorej?= Date: Mon, 17 Jul 2023 10:43:45 +0200 Subject: [PATCH] fix(layout): allow scrolling within validation table (#4277) Refs #3625 --- .../components/ValidationTable/_validation-table.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/plugins/editor-monaco/components/ValidationTable/_validation-table.scss b/src/plugins/editor-monaco/components/ValidationTable/_validation-table.scss index b8d0d46a976..2104c71a076 100644 --- a/src/plugins/editor-monaco/components/ValidationTable/_validation-table.scss +++ b/src/plugins/editor-monaco/components/ValidationTable/_validation-table.scss @@ -1,5 +1,6 @@ .swagger-editor { &__validation-table { + height: 100%; width: 100%; font-size: 0.8rem; font-weight: 300; @@ -17,6 +18,10 @@ outline: none; } + thead tr { + display: block; + } + thead th { min-width: 2.0rem; padding: 2px 2px 2px 0.25rem; @@ -30,6 +35,9 @@ } tbody { + display: block; + width: 100%; + height: 100px; max-height: 100px; overflow: auto; }