Преглед на файлове

fix: 修复长单词不换行问题

suntg преди 7 години
родител
ревизия
07dabe9061
променени са 2 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 3 0
      src/main/webapp/resources/tpl/index/sale/order.html
  2. 3 0
      src/main/webapp/resources/tpl/index/sale/order_detail.html

+ 3 - 0
src/main/webapp/resources/tpl/index/sale/order.html

@@ -146,6 +146,9 @@
 	font-weight: inherit;
 	font-weight: inherit;
 	top: -2px;
 	top: -2px;
 }
 }
+	.order-table .product div {
+		word-break: break-all;
+	}
 	.order-table .product div.text-over {
 	.order-table .product div.text-over {
 		width: 340px;
 		width: 340px;
 		white-space: nowrap;
 		white-space: nowrap;

+ 3 - 0
src/main/webapp/resources/tpl/index/sale/order_detail.html

@@ -1,4 +1,7 @@
 <style>
 <style>
+	.order-bd .product {
+		word-break: break-all;
+	}
 	.order-bd .product .text-over{
 	.order-bd .product .text-over{
 		display: inline-block;
 		display: inline-block;
 		width: 1200px;
 		width: 1200px;