diff --git a/public/css/index-tailwind-output.css b/public/css/index-tailwind-output.css index 790502ded..e7fcac660 100644 --- a/public/css/index-tailwind-output.css +++ b/public/css/index-tailwind-output.css @@ -1462,10 +1462,6 @@ input[type="range"].range-lg::-moz-range-thumb { margin-right: 4rem; } -.mb-4 { - margin-bottom: 1rem; -} - .mt-4 { margin-top: 1rem; } @@ -1482,6 +1478,10 @@ input[type="range"].range-lg::-moz-range-thumb { margin-bottom: 4rem; } +.mb-4 { + margin-bottom: 1rem; +} + .ml-1 { margin-left: 0.25rem; } @@ -1698,14 +1698,14 @@ input[type="range"].range-lg::-moz-range-thumb { height: 6rem; } -.h-screen { - height: 100vh; -} - .h-full { height: 100%; } +.h-screen { + height: 100vh; +} + .h-fit { height: -webkit-fit-content; height: -moz-fit-content; diff --git a/src/UI/Base/DotMenu.svelte b/src/UI/Base/DotMenu.svelte index 1ee5703c3..05d41c7ff 100644 --- a/src/UI/Base/DotMenu.svelte +++ b/src/UI/Base/DotMenu.svelte @@ -7,6 +7,21 @@ */ export let open = new UIEventSource(false) + export let dotsSize = `w-6 h-6` + export let dotsPosition = `top-0 right-0` + export let hideBackground= false + let menuPosition = `` + if(dotsPosition.indexOf("left-0") >= 0){ + menuPosition = "left-0" + }else{ + menuPosition = `right-0` + } + + if(dotsPosition.indexOf("top-0") > 0){ + menuPosition += " bottom-0" + }else{ + menuPosition += ` top-0` + } function toggle() { open.set(!open.data) @@ -17,18 +32,22 @@