Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5ae6e2e

Browse files
committed
tweaks
1 parent 45285f2 commit 5ae6e2e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

res/css/views/right_panel/_UserInfo.pcss

+1-3
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ limitations under the License.
133133
}
134134

135135
.mx_UserInfo_timezone {
136-
.mx_UserInfo_profileStatus {
137-
margin: var(--cpd-space-1x) 0;
138-
}
136+
margin: var(--cpd-space-1x) 0;
139137
}
140138

141139
.mx_PresenceLabel {

src/components/structures/LoggedInView.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ class LoggedInView extends React.Component<IProps, IState> {
217217
const currentTimezone =
218218
SettingsStore.getValue("userTimezone") ||
219219
// If the timezone is empty, then use the browser timezone.
220+
// eslint-disable-next-line new-cap
220221
Intl.DateTimeFormat().resolvedOptions().timeZone;
221222
if (!currentTimezone || typeof currentTimezone !== "string") {
222223
return;

0 commit comments

Comments
 (0)