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

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Sep 9, 2024
1 parent 45285f2 commit 5ae6e2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions res/css/views/right_panel/_UserInfo.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions src/components/structures/LoggedInView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ class LoggedInView extends React.Component<IProps, IState> {
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;
Expand Down

0 comments on commit 5ae6e2e

Please sign in to comment.