diff --git a/src/editor/panels/TopPanel.js b/src/editor/panels/TopPanel.js index 6e089b5e..c8a03715 100644 --- a/src/editor/panels/TopPanel.js +++ b/src/editor/panels/TopPanel.js @@ -322,7 +322,7 @@ class TopPanel { }); if (tagName === "text") { - $id("text_panel").style.display = "inline-block"; + $id("text_panel").style.display = 'block'; $id("tool_italic").pressed = this.editor.svgCanvas.getItalic(); $id("tool_bold").pressed = this.editor.svgCanvas.getBold(); $id("tool_font_family").value = elem.getAttribute("font-family"); @@ -914,17 +914,19 @@ class TopPanel {
-
+
+
+
-
- +
+ ${i18next.t('properties.serif')} ${i18next.t('properties.sans_serif')} ${i18next.t('properties.cursive')} @@ -933,12 +935,12 @@ class TopPanel { ${i18next.t('properties.courier')} ${i18next.t('properties.helvetica')} ${i18next.t('properties.times')} - - + - - -
+ + +
diff --git a/src/editor/svgedit.css b/src/editor/svgedit.css index 5a27587e..890677af 100644 --- a/src/editor/svgedit.css +++ b/src/editor/svgedit.css @@ -326,8 +326,10 @@ hr { height: 34px; } #tools_top se-spin-input, #tools_top se-list { - margin-top: 5px; + margin-top: 0; height: 34px; + position: relative; + top: 5px; } #tools_top se-dropdown-list {