Improve status tab error layout
This commit is contained in:
parent
18aff3ded6
commit
8a2fbaca7f
File diff suppressed because one or more lines are too long
@ -346,7 +346,7 @@ i[class^="icon-"]:before, i[class*=" icon-"]:before {
|
||||
.chat-topic {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
bottom: -4px;
|
||||
top: 3px;
|
||||
font-size: 16px;
|
||||
color: #999;
|
||||
white-space: nowrap;
|
||||
@ -648,6 +648,10 @@ i[class^="icon-"]:before, i[class*=" icon-"]:before {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.chat-topic {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.userlist-bar {
|
||||
display: none;
|
||||
}
|
||||
@ -668,10 +672,6 @@ i[class^="icon-"]:before, i[class*=" icon-"]:before {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.chat-topic {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.search {
|
||||
right: 0;
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ export default class ChatTitle extends PureComponent {
|
||||
|
||||
let serverError = null;
|
||||
if (!tab.name && status.error) {
|
||||
serverError = <span className="error">Error! {status.error}</span>;
|
||||
serverError = <span className="chat-topic error">Error: {status.error}</span>;
|
||||
}
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user