diff --git a/src/components/Form/index.less b/src/components/Form/index.less index 60a079d8..1bd60545 100644 --- a/src/components/Form/index.less +++ b/src/components/Form/index.less @@ -90,13 +90,15 @@ } .tips { + display: flex; margin-bottom: 16px; padding: 8px 16px; - word-break: break-all; + word-break: break-word; background: rgba(0, 0, 0, 15%); } .tips-icon { + margin-top: 2px; margin-right: 4px; color: #0068ff; } diff --git a/src/pages/compute/containers/Instance/actions/Resize.jsx b/src/pages/compute/containers/Instance/actions/Resize.jsx index 1a564844..1b4e1d05 100644 --- a/src/pages/compute/containers/Instance/actions/Resize.jsx +++ b/src/pages/compute/containers/Instance/actions/Resize.jsx @@ -142,7 +142,7 @@ export class Resize extends ModalAction { get tips() { return ( -
+

{t('The current operation requires the instance to be shut down:')}