Parcourir la source

:art: 拆分意思下拉菜单边上的按钮区固定宽度,防止折行

visuddhinanda il y a 4 ans
Parent
commit
380f5ef6f7
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      app/studio/js/editor.js

+ 2 - 1
app/studio/js/editor.js

@@ -3517,7 +3517,8 @@ function refreshPartMeaningSelect() {
 			output += "+";
 		}
 	}
-	output += "</div><div>";
+	output += "</div>";
+	output += "<div style='width: 5em;'>";
 	output += "<button style='margin-left:auto; padding: 1px 6px;' onclick=\"copy_part_mean_to_mean()\">";
 	output += '<svg class="icon"><use xlink="http://www.w3.org/1999/xlink" href="svg/icon.svg#ic_vertical_align_top">';
 	output += "</button>";