Skip to content

Commit 356a4a4

Browse files
committed
Typo and use CSS rather than <i>
1 parent c552485 commit 356a4a4

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎src/components/views/settings/Notifications.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,9 @@ module.exports = React.createClass({
950950
if (this.state.pushers === undefined) {
951951
devicesSection = <div className="error">Unable to fetch device list</div>
952952
} else if (this.state.pushers.length == 0) {
953-
devicesSection = <div><i>No devices are push notifications</i></div>
953+
devicesSection = <div className="mx_UserSettings_devicesTable_nodevices">
954+
No devices are receiving push notifications
955+
</div>
954956
} else {
955957
// It would be great to be able to delete pushers from here too,
956958
// and this wouldn't be hard to add.

‎src/skins/vector/css/vector-web/views/settings/Notifications.css‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,6 @@ limitations under the License.
6565
padding-left: 20px;
6666
padding-right: 20px;
6767
}
68+
.mx_UserSettings_devicesTable_nodevices {
69+
font-style: italic;
70+
}

0 commit comments

Comments
 (0)