diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-06-13 18:44:59 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-06-13 18:44:59 +0200 |
commit | fce479419c4f6b61f181257d69e5ac43f63ef7fe (patch) | |
tree | de39ac77e757becbc5f678de98c0ffd14a181746 /components | |
parent | 1b4a0b417c6f346016c09a665fab5b554c6c1618 (diff) |
this is the sauce selection
Diffstat (limited to 'components')
-rw-r--r-- | components/selection.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/selection.tsx b/components/selection.tsx index d1753f0..ad86f9f 100644 --- a/components/selection.tsx +++ b/components/selection.tsx @@ -67,16 +67,18 @@ export default function Selection(props: { height: number; left?: slideTypes; right?: slideTypes; + className?: string; }) { var small = props.width < 24 || props.height < 24 || !props.left || !props.right; return <div - className='selection' + className={'selection ' + props.className} style={{ width: props.width, height: props.height, '--corner-size': small ? '6px' : '12px', } as CSSProperties} > + <div className='background posabs dispinbl a0' /> <div className='posabs dispinbl t0 bar top' /> <div className='posabs dispinbl r0 bar right' /> <div className='posabs dispinbl b0 bar bottom' /> |