1
0
Fork 0
mirror of synced 2024-07-16 03:35:56 +12:00

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 dfd6a4d856
commit 0961812b56
2 changed files with 8 additions and 2 deletions

View file

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

View file

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