From 70bd16c44a0203594f18eba8b5a7b54617045040 Mon Sep 17 00:00:00 2001 From: Depayan Mondal Date: Sat, 7 Dec 2024 18:22:21 +0530 Subject: [PATCH] added scrollability to ER preview card --- app/styles/tasks.css | 15 +++++++++++---- config/environment.js | 6 +++--- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/app/styles/tasks.css b/app/styles/tasks.css index cc09075f..a96a77be 100644 --- a/app/styles/tasks.css +++ b/app/styles/tasks.css @@ -438,14 +438,20 @@ padding: 18px; border-radius: 10px; background-color: var(--white); + overflow: auto; /* overflow-y: scroll; */ position: absolute; - left: 30%; - right: 30%; + max-width: 60%; + max-height: 90%; gap: 20px; display: flex; flex-direction: column; } +@media (max-width: 768px), (max-height: 100vh) and (orientation: portrait) { + .extension-form__container-main { + max-width: 95%; + } +} .extension-form__container-main:hover { cursor: default; } @@ -465,6 +471,7 @@ } .extension-form__content { + /* overflow: auto; */ display: flex; justify-content: center; align-items: center; @@ -705,13 +712,13 @@ td { padding: 8px 2px; vertical-align: top; - min-width: 50%; + max-width: 20%; } .latest-table { width: 100%; } .latest-extension-info__content th { - text-align: right; + text-align: left; } .latest-extension-info__content td { text-align: left; diff --git a/config/environment.js b/config/environment.js index 7292d216..ee7cfccb 100644 --- a/config/environment.js +++ b/config/environment.js @@ -4,7 +4,7 @@ require('dotenv').config(); module.exports = function (environment) { let ENV = { modulePrefix: 'website-my', - environment, + environment: 'development', rootURL: '/', locationType: 'auto', EmberENV: { @@ -24,14 +24,14 @@ module.exports = function (environment) { }, }; - ENV.BASE_API_URL = 'https://api.realdevsquad.com'; + ENV.BASE_API_URL = 'http://localhost:4000'; ENV.MIXPANEL_TOKEN = process.env.MIXPANEL_TOKEN || 'DUMMY_TOKEN'; ENV.ANDROID_GITHUB_URL = 'https://play.google.com/store/apps/details?id=com.github.android'; ENV.RDS_ANDROID_SCHEME = 'app://realdevsquad.com'; if (environment === 'development') { - ENV.BASE_API_URL = 'http://localhost:3000'; + ENV.BASE_API_URL = 'http://localhost:4000'; ENV.STATUS_SITE = 'https://staging-status.realdevsquad.com'; ENV.MIXPANEL_TOKEN = 'TEST_TOKEN'; ENV['ember-cli-mirage'] = {