Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c34ec8b39 | |||
| e6b8e2de19 |
@@ -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",
|
||||||
|
|||||||
@@ -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'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
`;
|
`;
|
||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user