fix(core): update

This commit is contained in:
Philipp Kunz 2023-01-11 18:15:31 +01:00
parent 29f2839d5b
commit 279d1c2f3f
2 changed files with 19 additions and 7 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@designestate/dees-catalog', name: '@designestate/dees-catalog',
version: '1.0.128', version: '1.0.129',
description: 'website for lossless.com' description: 'website for lossless.com'
} }

View File

@ -1,4 +1,11 @@
import { DeesElement, html, property, customElement } from '@designestate/dees-element'; import {
DeesElement,
html,
property,
customElement,
cssManager,
css,
} from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@designestate/dees-domtools';
@ -92,16 +99,21 @@ export class DeesIcon extends DeesElement {
domtools.elementBasic.setup(); domtools.elementBasic.setup();
} }
public static styles = [
cssManager.defaultStyles,
css`
:host {
display: block;
white-space: nowrap;
}
`,
];
public render() { public render() {
return html` return html`
${domtools.elementBasic.styles} ${domtools.elementBasic.styles}
<style> <style>
:host {
display: block;
white-space: nowrap;
}
#iconContainer svg { #iconContainer svg {
display: inline-block;
height: ${this.iconSize}px; height: ${this.iconSize}px;
} }
</style> </style>