Improve frontend settings and design panel scrolling and panel styling

This commit is contained in:
Andrew Kingston 2020-10-12 15:12:48 +01:00
parent ecd14208ff
commit 01dedf9e91
2 changed files with 8 additions and 2 deletions

View File

@ -127,6 +127,9 @@
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
margin-left: -20px;
margin-right: -20px;
padding: 0 20px;
}
.instance-name {

View File

@ -49,7 +49,7 @@
{/each}
{:else}
<div class="no-design">
<span>This component does not have any design properties</span>
This component does not have any design properties.
</div>
{/if}
</div>
@ -78,9 +78,12 @@
flex: 1;
overflow-y: auto;
min-height: 0;
margin: 0 -20px;
padding: 0 20px;
}
.no-design {
text-align: center;
font-size: var(--font-size-s);
color: var(--grey-6);
}
</style>