diff --git a/src/html/component/functions-editor/editor-tile/editor-tile.less b/src/html/component/functions-editor/editor-tile/editor-tile.less index 10ed04e..0029e90 100644 --- a/src/html/component/functions-editor/editor-tile/editor-tile.less +++ b/src/html/component/functions-editor/editor-tile/editor-tile.less @@ -69,6 +69,10 @@ color: @monotonicity-unspecified; } +.icon-button { + width: 50px; +} + @media (prefers-color-scheme: dark) { .regulation:hover { background: rgba(0, 0, 0, 0.37); diff --git a/src/html/component/functions-editor/editor-tile/function-tile.ts b/src/html/component/functions-editor/editor-tile/function-tile.ts index 58e33a7..2cb1fbc 100644 --- a/src/html/component/functions-editor/editor-tile/function-tile.ts +++ b/src/html/component/functions-editor/editor-tile/function-tile.ts @@ -148,11 +148,11 @@ export class FunctionTile extends EditorTile { this.nameUpdated((e.target as HTMLInputElement).value)}"/> - + ${icon(faPlus).node} - + ${icon(faTrash).node} diff --git a/src/html/component/functions-editor/editor-tile/variable-tile.ts b/src/html/component/functions-editor/editor-tile/variable-tile.ts index faf2491..e9b7217 100644 --- a/src/html/component/functions-editor/editor-tile/variable-tile.ts +++ b/src/html/component/functions-editor/editor-tile/variable-tile.ts @@ -148,10 +148,10 @@ export class VariableTile extends EditorTile { this.nameUpdated((e.target as HTMLInputElement).value)}"/> - + ${icon(faMagnifyingGlass).node} - + ${icon(faTrash).node}