Merge pull request #215 from Budibase/bugfix/scrolling-issues

fixes scrolling issues on front-end when component list is too long
This commit is contained in:
Kevin Åberg Kultalahti 2020-04-24 11:39:46 +02:00 committed by GitHub
commit dc4132c743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -133,15 +133,13 @@
grid-column-start: middle; grid-column-start: middle;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
padding-top: 56.25%;
margin: auto; margin: auto;
height: 100%;
} }
.component-container iframe { .component-container iframe {
border: 0; border: 0;
height: 100%;
left: 0; left: 0;
position: absolute;
top: 0; top: 0;
width: 100%; width: 100%;
} }

View File

@ -135,7 +135,7 @@
background-color: var(--white); background-color: var(--white);
height: calc(100vh - 49px); height: calc(100vh - 49px);
padding: 0; padding: 0;
overflow: hidden; overflow: scroll;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
@ -152,7 +152,7 @@
grid-column: 3; grid-column: 3;
background-color: var(--white); background-color: var(--white);
min-height: 0px; min-height: 0px;
overflow-y: hidden; overflow-y: scroll;
} }
.components-nav-page { .components-nav-page {
@ -235,7 +235,6 @@
} }
.components-list-container { .components-list-container {
overflow: auto;
padding: 20px 0px 0 0; padding: 20px 0px 0 0;
} }
</style> </style>