diff --git a/res/css/views/right_panel/_UserInfo.pcss b/res/css/views/right_panel/_UserInfo.pcss index b0824f704f6..3a5dfe3b053 100644 --- a/res/css/views/right_panel/_UserInfo.pcss +++ b/res/css/views/right_panel/_UserInfo.pcss @@ -133,9 +133,7 @@ limitations under the License. } .mx_UserInfo_timezone { - .mx_UserInfo_profileStatus { - margin: var(--cpd-space-1x) 0; - } + margin: var(--cpd-space-1x) 0; } .mx_PresenceLabel { diff --git a/src/components/structures/LoggedInView.tsx b/src/components/structures/LoggedInView.tsx index 3ead748da50..cba172a0715 100644 --- a/src/components/structures/LoggedInView.tsx +++ b/src/components/structures/LoggedInView.tsx @@ -217,6 +217,7 @@ class LoggedInView extends React.Component { const currentTimezone = SettingsStore.getValue("userTimezone") || // If the timezone is empty, then use the browser timezone. + // eslint-disable-next-line new-cap Intl.DateTimeFormat().resolvedOptions().timeZone; if (!currentTimezone || typeof currentTimezone !== "string") { return;