fix mobile view issue
This commit is contained in:
@@ -179,6 +179,41 @@ export default function WomenSection() {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* ---- Floating card sizing: content-driven, not container-driven ----
|
||||
Matches the EV Logistics card height proportions exactly by trimming
|
||||
red content padding and white footer min-height. */
|
||||
.elementor-element.elementor-element-3b61435 {
|
||||
--padding-top: 46px;
|
||||
--padding-bottom: 38px;
|
||||
}
|
||||
.elementor-element.elementor-element-5aea22e {
|
||||
--min-height: 38px;
|
||||
--padding-top: 14px;
|
||||
--padding-bottom: 14px;
|
||||
}
|
||||
@media (max-width: 1020px) {
|
||||
.elementor-element.elementor-element-3b61435 {
|
||||
--padding-top: 34px;
|
||||
--padding-bottom: 28px;
|
||||
}
|
||||
.elementor-element.elementor-element-5aea22e {
|
||||
--min-height: 32px;
|
||||
--padding-top: 12px;
|
||||
--padding-bottom: 12px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 660px) {
|
||||
.elementor-element.elementor-element-3b61435 {
|
||||
--padding-top: 26px;
|
||||
--padding-bottom: 22px;
|
||||
}
|
||||
.elementor-element.elementor-element-5aea22e {
|
||||
--min-height: 24px;
|
||||
--padding-top: 10px;
|
||||
--padding-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.elementor-element-778840d .logico-title {
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
@@ -192,9 +227,9 @@ export default function WomenSection() {
|
||||
background-position: 78% center !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
@media (max-width: 767px) {
|
||||
.elementor-element.elementor-element-7da6646:not(.elementor-motion-effects-element-type-background) {
|
||||
background-position: 82% center !important;
|
||||
background-position: 82% 25% !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -224,7 +259,108 @@ export default function WomenSection() {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#women-entrepreneurship {
|
||||
width: calc(100% - 20px) !important;
|
||||
margin-left: 10px !important;
|
||||
margin-right: 10px !important;
|
||||
border-radius: 22px !important;
|
||||
padding-left: 0px !important;
|
||||
padding-right: 0px !important;
|
||||
}
|
||||
#women-entrepreneurship .e-con-boxed > .e-con-inner {
|
||||
padding-top: 32px !important;
|
||||
padding-bottom: 32px !important;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element-8b5d6e6,
|
||||
#women-entrepreneurship .elementor-element-b6e14bd,
|
||||
#women-entrepreneurship .elementor-element-90cc867,
|
||||
#women-entrepreneurship .elementor-element-36efec7,
|
||||
#women-entrepreneurship .elementor-element-b2c956f {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element-1f766ea {
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
margin-left: auto !important;
|
||||
margin-right: auto !important;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element.elementor-element-2ed47f3 {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
margin-top: 0 !important;
|
||||
padding-top: 0 !important;
|
||||
gap: 24px !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element-36efec7 {
|
||||
margin-top: 0px !important;
|
||||
padding-top: 0px !important;
|
||||
gap: 0px !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element-24c0280 {
|
||||
margin-bottom: 0px !important;
|
||||
padding-left: 14px !important;
|
||||
padding-right: 14px !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element-778840d {
|
||||
margin-top: 14px !important;
|
||||
margin-bottom: 14px !important;
|
||||
padding-top: 0px !important;
|
||||
padding-bottom: 0px !important;
|
||||
padding-left: 14px !important;
|
||||
padding-right: 14px !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element-778840d h3.logico-title,
|
||||
#women-entrepreneurship .elementor-element-778840d > .elementor-widget-container {
|
||||
margin: 0px !important;
|
||||
padding: 0px !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element-7da6646 {
|
||||
width: calc(100% - 28px) !important;
|
||||
margin-left: 14px !important;
|
||||
margin-right: 14px !important;
|
||||
border-radius: 18px !important;
|
||||
min-height: 240px !important;
|
||||
margin-top: 15px !important;
|
||||
margin-bottom: -50px !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element-8b5d6e6 {
|
||||
padding-left: 14px !important;
|
||||
padding-right: 14px !important;
|
||||
margin-left: 0px !important;
|
||||
margin-right: 0px !important;
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element-bbfb67f img {
|
||||
width: 100% !important;
|
||||
}
|
||||
#women-entrepreneurship .elementor-element-bbfb67f {
|
||||
margin-top: 0px !important;
|
||||
margin-bottom: 16px !important;
|
||||
padding-left: 14px !important;
|
||||
padding-right: 14px !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
#ws-stories {
|
||||
padding-left: 14px !important;
|
||||
padding-right: 14px !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
/* KPI stat cards stack one-per-row on mobile. Inside each card the big
|
||||
number sits on the left and the label on the right, vertically
|
||||
centered, so every stat reads as a clean full-width row instead of
|
||||
@@ -235,7 +371,7 @@ export default function WomenSection() {
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 20px 22px;
|
||||
padding: 16px 20px;
|
||||
min-width: 0;
|
||||
}
|
||||
#ws-stories .ws__stat-num { font-size: clamp(30px, 9vw, 40px); }
|
||||
@@ -246,7 +382,7 @@ export default function WomenSection() {
|
||||
text-align: right;
|
||||
min-height: 0;
|
||||
}
|
||||
#ws-stories .ws__cards { grid-template-columns: 1fr; }
|
||||
#ws-stories .ws__cards { grid-template-columns: 1fr; gap: 12px; }
|
||||
}
|
||||
`}} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user