mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix: keep ItemListLayout scrollable with custom views (#4737)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
10e4416b07
commit
b037c3bf02
@ -12,6 +12,8 @@
|
|||||||
:global(.TableRow):hover .pinIcon {
|
:global(.TableRow):hover .pinIcon {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entityName {
|
.entityName {
|
||||||
@ -128,3 +130,10 @@
|
|||||||
.catalogAvatar {
|
.catalogAvatar {
|
||||||
font-size: 1.2ch;
|
font-size: 1.2ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.views {
|
||||||
|
padding: calc(var(--padding) * 2);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
@ -282,7 +282,7 @@ class NonInjectedCatalog extends React.Component<Props & Dependencies> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<MainLayout sidebar={this.renderNavigation()}>
|
<MainLayout sidebar={this.renderNavigation()}>
|
||||||
<div className="p-6 h-full">
|
<div className={styles.views}>
|
||||||
{this.renderViews()}
|
{this.renderViews()}
|
||||||
</div>
|
</div>
|
||||||
{
|
{
|
||||||
|
|||||||
@ -25,6 +25,7 @@
|
|||||||
.contents {
|
.contents {
|
||||||
grid-area: contents;
|
grid-area: contents;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
height: calc(100vh - var(--bottom-bar-height) - var(--main-layout-header));
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user