diff options
author | Wei Lingfei <weilingfei@uniontech.com> | 2021-07-23 19:41:11 +0800 |
---|---|---|
committer | weilingfei <weilingfei@uniontech.com> | 2022-09-29 02:06:48 +0000 |
commit | aaa4a8cdfe833ac0a7a2391f3d889cbaaf2cc5e7 (patch) | |
tree | 39cc5b760d7f5fcfa851b54795a335eebeb12ccc | |
parent | 48b702adf75b7f19420df578d2bf9bf813099af5 (diff) | |
download | horizon-aaa4a8cdfe833ac0a7a2391f3d889cbaaf2cc5e7.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.scss | 3 |
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 +} |