mediawiki-extensions-WikiEd.../modules/realtimepreview/ErrorLayout.less
Sam Wilson 6175e2c519 Add nicer realtime preview error messages
Add a new ErrorLayout to display error messages along with an
image.

Bug: T303383
Change-Id: I1ec27a212b5ab67d3e805c0d7756432850de89ea
2022-03-24 14:56:19 +08:00

27 lines
434 B
Plaintext

@import 'mediawiki.ui/variables.less';
.ext-WikiEditor-realtimepreview-ErrorLayout {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
background-color: @colorGray15;
height: 100%;
width: 100%;
text-align: center;
& > * {
max-width: 268px;
margin: 6px;
}
.oo-ui-buttonWidget {
margin-top: 18px;
}
}
.ext-WikiEditor-image-realtimepreview-error {
height: 103px;
width: 92px;
}