diff --git a/src/web/components/icon-button.ts b/src/web/components/icon-button.ts
index 9cb7d91..600d734 100644
--- a/src/web/components/icon-button.ts
+++ b/src/web/components/icon-button.ts
@@ -10,6 +10,9 @@ export default class IconButton extends LitElement {
@property({type: String, attribute: true})
public icon = "";
+ @property({type: Number, attribute: true})
+ public size = 20;
+
@property({type: String, attribute: true})
public color = "var(--text-color)";
@@ -32,7 +35,7 @@ export default class IconButton extends LitElement {
@mouseleave=${() => this.pressed = false}
title="${this.label}"
>
-
+
`;
}
diff --git a/src/web/components/nav-bar.ts b/src/web/components/nav-bar.ts
index 738b6d8..88d5eab 100644
--- a/src/web/components/nav-bar.ts
+++ b/src/web/components/nav-bar.ts
@@ -27,7 +27,7 @@ export default class NavBar extends LitElement {
${msg("Federated")}
-
+
@@ -53,19 +53,6 @@ export default class NavBar extends LitElement {
`;
}
- private getGlobeIconName() {
- const offset = new Date().getTimezoneOffset();
- if (offset < -7 * 60) {
- return "globe-asia-australia";
- } else if (offset < -2 * 60) {
- return "globe-central-south-asia";
- } else if (offset < 3 * 60) {
- return "globe-europe-africa";
- } else {
- return "globe-americas";
- }
- }
-
static get styles() {
return withSharedStyles(css`
:host {
diff --git a/src/web/features/compose-form.ts b/src/web/features/compose-form.ts
index d693dc7..3fa2ad6 100644
--- a/src/web/features/compose-form.ts
+++ b/src/web/features/compose-form.ts
@@ -49,7 +49,7 @@ export default class ComposeForm extends LitElement {
-
+