Typo and use CSS rather than <i>

This commit is contained in:
David Baker 2016-04-12 14:10:17 +01:00
parent c5524851f3
commit 356a4a4392
2 changed files with 6 additions and 1 deletions

View File

@ -950,7 +950,9 @@ module.exports = React.createClass({
if (this.state.pushers === undefined) { if (this.state.pushers === undefined) {
devicesSection = <div className="error">Unable to fetch device list</div> devicesSection = <div className="error">Unable to fetch device list</div>
} else if (this.state.pushers.length == 0) { } else if (this.state.pushers.length == 0) {
devicesSection = <div><i>No devices are push notifications</i></div> devicesSection = <div className="mx_UserSettings_devicesTable_nodevices">
No devices are receiving push notifications
</div>
} else { } else {
// It would be great to be able to delete pushers from here too, // It would be great to be able to delete pushers from here too,
// and this wouldn't be hard to add. // and this wouldn't be hard to add.

View File

@ -65,3 +65,6 @@ limitations under the License.
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
} }
.mx_UserSettings_devicesTable_nodevices {
font-style: italic;
}