From 31d90ca4f6e1443272bba1d84d00cc4c45ae5ae8 Mon Sep 17 00:00:00 2001 From: Serik Date: Tue, 25 Jun 2024 20:16:54 +0500 Subject: [PATCH] change the buttons to the icons --- components/wysiwyg-editor.js | 42 ++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/components/wysiwyg-editor.js b/components/wysiwyg-editor.js index 6047d28..6d4c345 100644 --- a/components/wysiwyg-editor.js +++ b/components/wysiwyg-editor.js @@ -13,6 +13,14 @@ class WYSIWYGEditor extends LitElement { } .toolbar button { margin-right: 5px; + border: none; + background-color: transparent; + cursor: pointer; + } + + .toolbar svg{ + width: 1rem; + height: 1rem; } `; @@ -46,10 +54,36 @@ class WYSIWYGEditor extends LitElement { render() { return html`
- - - - + + + + + + + + + +