Avoid inline CSS

This commit is contained in:
Midgard 2020-04-03 17:24:35 +02:00
parent 596cd63fb5
commit b76a01f760
Signed by: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 11 additions and 2 deletions

View file

@ -229,3 +229,13 @@ ul#server_selection_list {
grid-column-start: 1; grid-column-start: 1;
grid-column-end: 3; grid-column-end: 3;
} }
.channel-contents-message {
text-align: center;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: #aaa;
}

View file

@ -49,8 +49,7 @@
<div id="channel_contents_wrapper"> <div id="channel_contents_wrapper">
<div class="centered" id="channel_contents"> <div class="centered" id="channel_contents">
<div style="text-align: center; width: 100%; height: 100%; display: flex; <div class="channel-contents-message">
align-items: center; justify-content: center; color: #aaa">
<div>← Select a channel in the sidebar to read it</div> <div>← Select a channel in the sidebar to read it</div>
</div> </div>