diff --git a/components/common/HamburgerButton.js b/components/common/HamburgerButton.js
index 9c92b282..a2d26779 100644
--- a/components/common/HamburgerButton.js
+++ b/components/common/HamburgerButton.js
@@ -13,32 +13,32 @@ export default function HamburgerButton() {
const menuItems = [
{
label: formatMessage(labels.dashboard),
- value: '/dashboard',
+ url: '/dashboard',
},
- { label: formatMessage(labels.realtime), value: '/realtime' },
+ { label: formatMessage(labels.realtime), url: '/realtime' },
!cloudMode && {
label: formatMessage(labels.settings),
- value: '/settings',
+ url: '/settings',
children: [
{
label: formatMessage(labels.websites),
- value: '/settings/websites',
+ url: '/settings/websites',
},
{
label: formatMessage(labels.teams),
- value: '/settings/teams',
+ url: '/settings/teams',
},
{
label: formatMessage(labels.users),
- value: '/settings/users',
+ url: '/settings/users',
},
],
},
{
label: formatMessage(labels.profile),
- value: '/settings/profile',
+ url: '/settings/profile',
},
- !cloudMode && { label: formatMessage(labels.logout), value: '/logout' },
+ !cloudMode && { label: formatMessage(labels.logout), url: '/logout' },
].filter(n => n);
const handleClick = () => setActive(state => !state);
diff --git a/components/common/MobileMenu.js b/components/common/MobileMenu.js
index 4168a6c6..44c8da84 100644
--- a/components/common/MobileMenu.js
+++ b/components/common/MobileMenu.js
@@ -8,14 +8,14 @@ export default function MobileMenu({ items = [], onClose }) {
const Items = ({ items, className }) => (
- {items.map(({ label, value, children }) => {
- const selected = pathname === value;
+ {items.map(({ label, url, children }) => {
+ const selected = pathname.startsWith(url);
return (
<>
diff --git a/components/common/SettingsTable.module.css b/components/common/SettingsTable.module.css
index 023d1338..fd6cddfa 100644
--- a/components/common/SettingsTable.module.css
+++ b/components/common/SettingsTable.module.css
@@ -1,3 +1,7 @@
+.cell {
+ align-items: center;
+}
+
.row .cell:last-child {
gap: 10px;
justify-content: flex-end;
diff --git a/components/layout/PageHeader.module.css b/components/layout/PageHeader.module.css
index 8a2a6800..1dd212bc 100644
--- a/components/layout/PageHeader.module.css
+++ b/components/layout/PageHeader.module.css
@@ -26,7 +26,7 @@
font-size: 24px;
font-weight: 700;
gap: 20px;
- line-height: 50px;
+ height: 60px;
}
.actions {
diff --git a/components/pages/settings/profile/DateRangeSetting.js b/components/pages/settings/profile/DateRangeSetting.js
index 23921d31..2c2d70fc 100644
--- a/components/pages/settings/profile/DateRangeSetting.js
+++ b/components/pages/settings/profile/DateRangeSetting.js
@@ -12,7 +12,7 @@ export default function DateRangeSetting() {
const handleReset = () => setDateRange(DEFAULT_DATE_RANGE);
return (
-
+
diff --git a/components/pages/settings/profile/LanguageSetting.js b/components/pages/settings/profile/LanguageSetting.js
index 8130d33a..e5fc874d 100644
--- a/components/pages/settings/profile/LanguageSetting.js
+++ b/components/pages/settings/profile/LanguageSetting.js
@@ -14,7 +14,7 @@ export default function LanguageSetting() {
const renderValue = value => languages[value].label;
return (
-
+
saveTimezone(getTimezone());
return (
-
+
{item => - {item}
}
diff --git a/components/pages/settings/teams/TeamEditForm.js b/components/pages/settings/teams/TeamEditForm.js
index 1a9a8baa..a51d4735 100644
--- a/components/pages/settings/teams/TeamEditForm.js
+++ b/components/pages/settings/teams/TeamEditForm.js
@@ -41,7 +41,7 @@ export default function TeamEditForm({ teamId, data, onSave, readOnly }) {
};
return (
-