Add icons to screen picker above app preview

This commit is contained in:
Andrew Kingston 2022-04-26 09:51:53 +01:00
parent 084d93616b
commit b1f4f94f93
1 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@
options={$store.screens} options={$store.screens}
getOptionLabel={x => x.routing.route} getOptionLabel={x => x.routing.route}
getOptionValue={x => x._id} getOptionValue={x => x._id}
getOptionIcon={x => (x.routing.homeScreen ? "Home" : "WebPage")}
bind:value={$store.selectedScreenId} bind:value={$store.selectedScreenId}
/> />
<StatusLight custom color={roleColor}> <StatusLight custom color={roleColor}>
@ -77,7 +78,7 @@
gap: var(--spacing-l); gap: var(--spacing-l);
} }
.header-left :global(.spectrum-Picker) { .header-left :global(.spectrum-Picker) {
width: 200px; width: 240px;
} }
.content { .content {
flex: 1 1 auto; flex: 1 1 auto;