added build ways

This commit is contained in:
ari committed 2022-05-16 22:03:27 -04:00
1 parent 2245fd556b
commit cf29d9d61c
3 files changed
+14 -9

No files matched your search

@@ -19,21 +19,22 @@
.automation-list--root.mobile .automation-editor--info-box {
min-width: 100vw;
min-height: 100vh;
min-height: calc(100vh - 5em);
max-width: 100vw;
max-height: 100vh;
max-height: calc(100vh - 5em);
padding: 0;
}
.automation-list--root.mobile .automation-editor--info-box-inner {
margin-top: 1.75em;
padding: 0.5em;
direction: rtl;
margin-top: 2.5em;
padding-left: 0.5em;
padding-right: 0.5em;
margin-bottom: 2em;
}
.automation-list--root.mobile .automation-editor--info-box--icon {
left: 1.25em;
bottom: 1em;
bottom: 0em;
background-color: var(--primary);
transform: rotate(90deg);
}
@@ -43,7 +43,12 @@ export const AutomationList: FC<AutomationListParams> = ({
onAdd(defaultAutomation(`shortu-${automations.length}`));
setCurrent(automations.length)
}}
onSelectAutomation={setCurrent}
onSelectAutomation={i => {
setCurrent(i);
if (isMobile) {
setHideList(true)
}
}}
selected={current}
onRemove={onRemove}
/>