diff --git a/src/ui/components/tenants/tenantDetail/tenantDetail.scss b/src/ui/components/tenants/tenantDetail/tenantDetail.scss
index 6deeb5fa..2770838a 100644
--- a/src/ui/components/tenants/tenantDetail/tenantDetail.scss
+++ b/src/ui/components/tenants/tenantDetail/tenantDetail.scss
@@ -61,7 +61,7 @@
border-radius: 6px;
width: 100%;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 640px) {
padding: 0px;
border: none;
margin-top: 20px;
@@ -83,7 +83,7 @@
flex: 1;
}
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 640px) {
display: none;
}
}
@@ -94,7 +94,7 @@
gap: 16px;
margin-top: 20px;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 640px) {
margin-top: 0px;
}
}
@@ -111,7 +111,7 @@
font-weight: 500;
line-height: normal;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 640px) {
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
@@ -124,9 +124,12 @@
overflow: hidden;
text-overflow: ellipsis;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 640px) {
max-width: 205px;
}
+ @media screen and (max-width: 380px) {
+ max-width: 180px;
+ }
}
&__label-container {
@@ -143,7 +146,7 @@
justify-content: space-between;
align-items: center;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 640px) {
padding-left: 0px;
width: 100%;
}
@@ -250,7 +253,7 @@
&__header {
justify-content: space-between;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 640px) {
flex-direction: column;
gap: 16px;
button {
@@ -291,7 +294,7 @@
grid-template-columns: 1fr 1fr 1fr;
gap: 16px;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 640px) {
grid-template-columns: 1fr;
}
@@ -302,7 +305,7 @@
max-width: 185px;
justify-content: space-between;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 640px) {
max-width: 100%;
}
@@ -319,7 +322,7 @@
}
&--fixed-gap {
- @media screen and (min-width: 480px) {
+ @media screen and (min-width: 640px) {
gap: 16px;
justify-content: flex-start;
}
diff --git a/src/ui/components/tenants/tenantDetail/thirdPartyProviderConfig/thirdPartyProviderConfig.scss b/src/ui/components/tenants/tenantDetail/thirdPartyProviderConfig/thirdPartyProviderConfig.scss
index 7aa0c318..b6694489 100644
--- a/src/ui/components/tenants/tenantDetail/thirdPartyProviderConfig/thirdPartyProviderConfig.scss
+++ b/src/ui/components/tenants/tenantDetail/thirdPartyProviderConfig/thirdPartyProviderConfig.scss
@@ -163,7 +163,7 @@
flex-direction: column;
gap: 15px;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 768px) {
gap: 0px;
}
@@ -180,7 +180,7 @@
gap: 10px;
align-items: center;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 768px) {
align-items: flex-end;
.delete-cross-button {
@@ -191,7 +191,7 @@
&__footer {
margin-left: 128px;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 768px) {
margin-left: 0px;
margin-top: 18px;
}
@@ -416,7 +416,7 @@
.provider-email-select {
display: flex;
gap: 75px;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 768px) {
flex-direction: column;
gap: 10px;
}
diff --git a/src/ui/components/tenants/tenantDetail/thirdPartyProviderInput/thirdPartyProviderInput.scss b/src/ui/components/tenants/tenantDetail/thirdPartyProviderInput/thirdPartyProviderInput.scss
index e0d30d97..30099d9b 100644
--- a/src/ui/components/tenants/tenantDetail/thirdPartyProviderInput/thirdPartyProviderInput.scss
+++ b/src/ui/components/tenants/tenantDetail/thirdPartyProviderInput/thirdPartyProviderInput.scss
@@ -18,7 +18,7 @@
width: 100%;
gap: 20px;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 768px) {
flex-direction: column;
gap: 12px;
}
@@ -30,7 +30,7 @@
color: var(--color-secondary-text);
min-width: max-content;
- @media screen and (max-width: 480px) {
+ @media screen and (max-width: 768px) {
min-width: unset;
}
}
diff --git a/src/ui/layouts/mainLayout.scss b/src/ui/layouts/mainLayout.scss
index d4e8a92a..fb9c7137 100644
--- a/src/ui/layouts/mainLayout.scss
+++ b/src/ui/layouts/mainLayout.scss
@@ -4,6 +4,7 @@
.main-content {
margin-top: 44px;
margin-left: var(--sidebar-width);
+ padding: 0 20px;
min-height: 100vh;
}
}
@@ -12,6 +13,7 @@
.main-layout-container {
.main-content {
margin-left: 0;
+ padding: 0;
}
}
}
diff --git a/src/ui/styles/index.css b/src/ui/styles/index.css
index 1d0b0e0e..938d7a3e 100644
--- a/src/ui/styles/index.css
+++ b/src/ui/styles/index.css
@@ -75,3 +75,7 @@ button:disabled {
::-webkit-scrollbar-track {
background-color: transparent; /* Set track color for Chrome and Safari */
}
+
+body.no-scroll {
+ overflow: hidden;
+}