Compare commits

...

2 Commits

Author SHA1 Message Date
2c34ec8b39 1.0.242 2024-01-11 21:14:31 +01:00
e6b8e2de19 fix(core): update 2024-01-11 21:14:30 +01:00
4 changed files with 10 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@design.estate/dees-catalog", "name": "@design.estate/dees-catalog",
"version": "1.0.241", "version": "1.0.242",
"private": false, "private": false,
"description": "website for lossless.com", "description": "website for lossless.com",
"main": "dist_ts_web/index.js", "main": "dist_ts_web/index.js",

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 {