From 8ec6094caf27fefacf2c8fdd28481d86cad398a9 Mon Sep 17 00:00:00 2001 From: dragonwocky <thedragonring.bod@gmail.com> Date: Mon, 4 Sep 2023 22:29:11 +1000 Subject: [PATCH] chore(panel): restore cloudhill credit --- src/core/islands/Panel.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/islands/Panel.mjs b/src/core/islands/Panel.mjs index e93af04..bc3aeff 100644 --- a/src/core/islands/Panel.mjs +++ b/src/core/islands/Panel.mjs @@ -1,6 +1,7 @@ /** * notion-enhancer * (c) 2023 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/) + * (c) 2021 CloudHill <rl.cloudhill@gmail.com> (https://github.com/CloudHill) * (https://notion-enhancer.github.io/) under the MIT license */ @@ -51,8 +52,8 @@ function View({ _get }) { function Switcher({ _get, _set, minWidth, maxWidth }) { const { html, extendProps, setState, useState } = globalThis.__enhancerApi, $switcher = html`<div - class="relative flex items-center - font-medium p-[8.5px] ml-[4px] grow" + class="relative flex items-center grow + font-medium p-[8.5px] ml-[4px] select-none" ></div>`, setView = (view) => { _set?.(view);