diff options
author | Wei Lingfei <weilingfei@uniontech.com> | 2021-07-23 19:41:11 +0800 |
---|---|---|
committer | weilingfei <weilingfei@uniontech.com> | 2022-09-29 02:07:13 +0000 |
commit | 5932bca8bb1b2a5fea63a81c37bf464a62e854ed (patch) | |
tree | c947953671badbb4fb0e458aa930f14adae157bd | |
parent | 82698aa8901b0533f2e62868fabbf5ef4c36cea0 (diff) | |
download | horizon-5932bca8bb1b2a5fea63a81c37bf464a62e854ed.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 +} |