fix(core): update

This commit is contained in:
Philipp Kunz 2024-01-11 21:14:30 +01:00
parent a99d270ef1
commit e6b8e2de19
3 changed files with 9 additions and 3 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@design.estate/dees-catalog', name: '@design.estate/dees-catalog',
version: '1.0.241', version: '1.0.242',
description: 'website for lossless.com' description: 'website for lossless.com'
} }

View File

@ -2,7 +2,7 @@ import { html } from '@design.estate/dees-element';
export const demoFunc = () => html` export const demoFunc = () => html`
<dees-input-multitoggle <dees-input-multitoggle
.options=${['option 1', 'option 2', 'option 3']} .options=${['option 1', 'option 2', 'a longer option with multiple words']}
.selectedOption=${'option 2'} .selectedOption=${'option 2'}
></dees-input-multitoggle> ></dees-input-multitoggle>
`; `;

View File

@ -55,12 +55,18 @@ export class DeesInputMultitoggle extends DeesElement {
} }
.option { .option {
color: #CCC;
position: relative; position: relative;
padding: 0px 16px; padding: 0px 16px;
line-height: 40px; line-height: 40px;
cursor: pointer; cursor: default;
width: min-content; /* Make the width as per the content */ width: min-content; /* Make the width as per the content */
white-space: nowrap; /* Prevent text wrapping */ white-space: nowrap; /* Prevent text wrapping */
transition: all 0.1s;
}
.option:hover {
color: #fff;
} }
.indicator { .indicator {