fix: update the style of tips in the form
1. Fixed the style of the tips to better display multi-line tips. 2. Remove the style of the tips in the Resize instance form Change-Id: I69d78780ad07ecfb5d9a205ff9ffba82936cddeb
This commit is contained in:
parent
24b7c3a52b
commit
c6c8c87226
@ -90,13 +90,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tips {
|
.tips {
|
||||||
|
display: flex;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
word-break: break-all;
|
word-break: break-word;
|
||||||
background: rgba(0, 0, 0, 15%);
|
background: rgba(0, 0, 0, 15%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tips-icon {
|
.tips-icon {
|
||||||
|
margin-top: 2px;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
color: #0068ff;
|
color: #0068ff;
|
||||||
}
|
}
|
||||||
|
@ -142,7 +142,7 @@ export class Resize extends ModalAction {
|
|||||||
|
|
||||||
get tips() {
|
get tips() {
|
||||||
return (
|
return (
|
||||||
<div style={{ display: 'inline-table' }}>
|
<div>
|
||||||
<p style={{ color: '#0068FF' }}>
|
<p style={{ color: '#0068FF' }}>
|
||||||
{t('The current operation requires the instance to be shut down:')}
|
{t('The current operation requires the instance to be shut down:')}
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user