diff --git a/frontend/src/components/common/notice-item.js b/frontend/src/components/common/notice-item.js index babe1b16a1..303df029d3 100644 --- a/frontend/src/components/common/notice-item.js +++ b/frontend/src/components/common/notice-item.js @@ -211,7 +211,7 @@ class NoticeItem extends React.Component { - +

diff --git a/frontend/src/user-notifications.js b/frontend/src/user-notifications.js index d6d1f154b3..4248cd2b9c 100644 --- a/frontend/src/user-notifications.js +++ b/frontend/src/user-notifications.js @@ -119,8 +119,8 @@ class UserNotifications extends React.Component {
-
-

{gettext('Notifications')}

+
+

{gettext('Notifications')}

@@ -149,11 +149,6 @@ class Content extends React.Component { constructor(props) { super(props); - this.theadData = [ - {width: '7%', text: ''}, - {width: '73%', text: gettext('Message')}, - {width: '20%', text: gettext('Time')} - ]; } getPreviousPage = () => { @@ -178,12 +173,23 @@ class Content extends React.Component { return

{errorMsg}

; } + const isDesktop = Utils.isDesktop(); + const theadData = isDesktop ? [ + {width: '7%', text: ''}, + {width: '73%', text: gettext('Message')}, + {width: '20%', text: gettext('Time')} + ] : [ + {width: '15%', text: ''}, + {width: '52%', text: gettext('Message')}, + {width: '33%', text: gettext('Time')} + ]; + return ( - {this.theadData.map((item, index) => { + {theadData.map((item, index) => { return ; })}
{item.text}