Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

CSS updates for mobile.

Mike Caof5a268c91619
diff --git a/components/layout/MenuLayout.module.css b/components/layout/MenuLayout.module.css
index c0665d4c8..126d31a3d 100644
--- a/components/layout/MenuLayout.module.css
+++ b/components/layout/MenuLayout.module.css
@@ -19,9 +19,16 @@
@media only screen and (max-width: 992px) {
.container {
+ flex-direction: column;
height: auto;
}
+ .container .menu {
+ display: flex;
+ justify-content: space-around;
+ align-items: flex-start;
+ }
+
.container .content {
border-top: 1px solid var(--gray300);
border-left: 0;
diff --git a/components/pages/WebsiteDetails.js b/components/pages/WebsiteDetails.js
index 876fbfc46..2d9dceaa1 100644
--- a/components/pages/WebsiteDetails.js
+++ b/components/pages/WebsiteDetails.js
@@ -49,7 +49,7 @@ export default function WebsiteDetails({ websiteId }) {
} = usePageQuery();
const BackButton = () => (
- <div key="back-button" className={styles.backButton}>
+ <div key="back-button" className={classNames(styles.backButton, 'col-12')}>
<Link key="back-button" href={resolve({ view: undefined })} icon={<Arrow />} size="small">
<FormattedMessage id="label.back" defaultMessage="Back" />
</Link>
diff --git a/components/pages/WebsiteDetails.module.css b/components/pages/WebsiteDetails.module.css
index e8dd53994..6beacbffa 100644
--- a/components/pages/WebsiteDetails.module.css
+++ b/components/pages/WebsiteDetails.module.css
@@ -33,3 +33,10 @@
.eventschart {
padding-top: 30px;
}
+
+@media only screen and (max-width: 992px) {
+ .menu {
+ display: flex;
+ flex-direction: column;
+ }
+}