Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
884f9725b5 | |||
48e093b1ba | |||
2b3875d738 | |||
279d1c2f3f | |||
29f2839d5b | |||
96683b4380 |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@designestate/dees-catalog",
|
||||
"version": "1.0.127",
|
||||
"version": "1.0.130",
|
||||
"private": false,
|
||||
"description": "website for lossless.com",
|
||||
"main": "dist_ts_web/index.js",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@designestate/dees-catalog',
|
||||
version: '1.0.127',
|
||||
version: '1.0.130',
|
||||
description: 'website for lossless.com'
|
||||
}
|
||||
|
@ -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';
|
||||
|
||||
@ -21,6 +28,7 @@ import {
|
||||
import {
|
||||
faBell as faBellSolid,
|
||||
faBug as faBugSolid,
|
||||
faCaretLeft as faCaretLeftSolid,
|
||||
faCircleInfo as faCircleInfoSolid,
|
||||
faDesktop as faDesktopSolid,
|
||||
faGrip as faGripSolid,
|
||||
@ -37,6 +45,8 @@ export const faIcons = {
|
||||
bellSolid: faBellSolid,
|
||||
bug: faBugSolid,
|
||||
bugSolid: faBugSolid,
|
||||
caretLeft: faCaretLeftSolid,
|
||||
caretLeftSolid: faCaretLeftSolid,
|
||||
circleinfo: faCircleInfoSolid,
|
||||
circleinfoSolid: faCircleInfoSolid,
|
||||
desktop: faDesktopSolid,
|
||||
@ -92,18 +102,21 @@ export class DeesIcon extends DeesElement {
|
||||
domtools.elementBasic.setup();
|
||||
}
|
||||
|
||||
public static styles = [
|
||||
cssManager.defaultStyles,
|
||||
css`
|
||||
:host {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
}
|
||||
`,
|
||||
];
|
||||
|
||||
public render() {
|
||||
return html`
|
||||
${domtools.elementBasic.styles}
|
||||
<style>
|
||||
:host {
|
||||
display: block;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
#iconContainer svg {
|
||||
display: inline-block;
|
||||
height: ${this.iconSize}px;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user