summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Lingfei <weilingfei@uniontech.com>2021-07-23 19:41:11 +0800
committerweilingfei <weilingfei@uniontech.com>2022-09-29 02:11:23 +0000
commitee04415bc77994dc91fe3bd2d376068553eaf0ec (patch)
tree1e6745346c219478438fabe075d9c65c129e173c
parent8385858585ac28c2fc9d8979a72c17e3fa7acb2e (diff)
downloadhorizon-ee04415bc77994dc91fe3bd2d376068553eaf0ec.tar.gz
Modified the image page to use CSS class
Pages can not display normal when language is Simplified Chinese(zh-cn), a row in the table can display only one Chinese character. Remove "width: 100%" rule from the "word-wrap" class. The page should now display normally. Partial-Bug: #1936830 Change-Id: If72d49c78a9f83687785a1225151d819b85e88d2 (cherry picked from commit e9ca0016234632f6ad0fbd766c5829c587b6a951)
-rw-r--r--openstack_dashboard/static/dashboard/scss/_util.scss3
1 files changed, 1 insertions, 2 deletions
diff --git a/openstack_dashboard/static/dashboard/scss/_util.scss b/openstack_dashboard/static/dashboard/scss/_util.scss
index f88e32e70..53960672e 100644
--- a/openstack_dashboard/static/dashboard/scss/_util.scss
+++ b/openstack_dashboard/static/dashboard/scss/_util.scss
@@ -49,7 +49,6 @@ input::-ms-clear, input::-ms-reveal {
// Set on an element that you would like to word wrap to container size
.word-wrap {
- width: 100%;
word-wrap: break-word;
}
@@ -67,4 +66,4 @@ input::-ms-clear, input::-ms-reveal {
[ng-click] {
cursor: pointer;
-} \ No newline at end of file
+}