mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-10 15:39:01 +00:00
chore(panel): restore cloudhill credit
This commit is contained in:
parent
aed0081990
commit
8ec6094caf
@ -1,6 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* notion-enhancer
|
* notion-enhancer
|
||||||
* (c) 2023 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
|
* (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
|
* (https://notion-enhancer.github.io/) under the MIT license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -51,8 +52,8 @@ function View({ _get }) {
|
|||||||
function Switcher({ _get, _set, minWidth, maxWidth }) {
|
function Switcher({ _get, _set, minWidth, maxWidth }) {
|
||||||
const { html, extendProps, setState, useState } = globalThis.__enhancerApi,
|
const { html, extendProps, setState, useState } = globalThis.__enhancerApi,
|
||||||
$switcher = html`<div
|
$switcher = html`<div
|
||||||
class="relative flex items-center
|
class="relative flex items-center grow
|
||||||
font-medium p-[8.5px] ml-[4px] grow"
|
font-medium p-[8.5px] ml-[4px] select-none"
|
||||||
></div>`,
|
></div>`,
|
||||||
setView = (view) => {
|
setView = (view) => {
|
||||||
_set?.(view);
|
_set?.(view);
|
||||||
|
Loading…
Reference in New Issue
Block a user