mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-18 13:05:50 +00:00
10 lines
386 B
JavaScript
10 lines
386 B
JavaScript
|
const placeholder = ( msg, height ) => {
|
||
|
return `<div style="width: 100%; height: ${height || 200}px; margin-bottom: 2px;
|
||
|
font-size: 12px; padding: 8px; box-sizing: border-box;
|
||
|
display: flex; background: #eee; align-items: center;justify-content: center;">${msg}</div>`;
|
||
|
};
|
||
|
|
||
|
const htmluserlangattributes = `dir="ltr" lang="en-GB"`;
|
||
|
|
||
|
export { placeholder, htmluserlangattributes };
|