Fix status bar element positioning

This commit is contained in:
Luke Barnard 2018-06-27 15:19:27 +01:00
parent 8be173cae3
commit 66002a4c00
2 changed files with 10 additions and 5 deletions

View file

@ -113,6 +113,8 @@ limitations under the License.
} }
.mx_RoomStatusBar_connectionLostBar { .mx_RoomStatusBar_connectionLostBar {
display: flex;
margin-top: 19px; margin-top: 19px;
min-height: 58px; min-height: 58px;
} }
@ -132,6 +134,7 @@ limitations under the License.
color: $primary-fg-color; color: $primary-fg-color;
font-size: 13px; font-size: 13px;
opacity: 0.5; opacity: 0.5;
padding-bottom: 20px;
} }
.mx_RoomStatusBar_resend_link { .mx_RoomStatusBar_resend_link {

View file

@ -351,12 +351,14 @@ module.exports = React.createClass({
return <div className="mx_RoomStatusBar_connectionLostBar"> return <div className="mx_RoomStatusBar_connectionLostBar">
<img src="img/warning.svg" width="24" height="23" title={_t("Warning")} alt={_t("Warning")} /> <img src="img/warning.svg" width="24" height="23" title={_t("Warning")} alt={_t("Warning")} />
<div>
<div className="mx_RoomStatusBar_connectionLostBar_title"> <div className="mx_RoomStatusBar_connectionLostBar_title">
{ title } { title }
</div> </div>
<div className="mx_RoomStatusBar_connectionLostBar_desc"> <div className="mx_RoomStatusBar_connectionLostBar_desc">
{ content } { content }
</div> </div>
</div>
</div>; </div>;
}, },