Skip to content

Commit 1dcf4ca

Browse files
committed
Fix css in OtherTools
1 parent 7aa11a2 commit 1dcf4ca

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/OtherTools.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ export class OtherTools extends LitElement {
1010
static styles = [componentStyle, css`${unsafeCSS(bootstrapcss)}`];
1111

1212
render() {
13-
console.log("rendering");
14-
console.log(bootstrapcss);
15-
return html`<div class="component">
13+
return html`
1614
<h5>Other Tools</h5>
1715
<ul>
1816
${Object.entries(other_tools).map(
@@ -21,7 +19,6 @@ export class OtherTools extends LitElement {
2119
<a href=${value} target="_blank">${key}</a>
2220
</li>`
2321
)}
24-
</ul>
25-
</div>`;
22+
</ul>`;
2623
}
2724
}

src/styles/Common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { css } from 'lit';
22
export const componentStyle = css`
3-
.component {
3+
:host {
44
border-radius: 1rem;
55
background: #eee;
66
padding: 1rem;

0 commit comments

Comments
 (0)