diff --git a/src/components/business/WhatCanWeDo.tsx b/src/components/business/WhatCanWeDo.tsx index 6a25a863d..78bbe0f01 100644 --- a/src/components/business/WhatCanWeDo.tsx +++ b/src/components/business/WhatCanWeDo.tsx @@ -35,8 +35,6 @@ export const WhatCanWeDo = ({ textContent }: WhatCanWeDoProps): JSX.Element => {

{textContent.title}

{textContent.description}

- - {/* Desktop View */}
{textContent.cards.map((info, index) => ( @@ -49,7 +47,7 @@ export const WhatCanWeDo = ({ textContent }: WhatCanWeDoProps): JSX.Element => { onTabSelectorButtonClicked(index); }} > -

{info.selectorTab}

+

{info.selectorTab}

@@ -58,7 +56,7 @@ export const WhatCanWeDo = ({ textContent }: WhatCanWeDoProps): JSX.Element => {
-
+

{textContent.cards[selectedTab].selectorTab}

{textContent.cards[selectedTab].description} @@ -78,40 +76,21 @@ export const WhatCanWeDo = ({ textContent }: WhatCanWeDoProps): JSX.Element => {
- {/* Mobile/Tablet View */} -
-
- {textContent.cards.map((testimonial) => ( -
-
-
-

- {textContent.cards[selectedTab].selectorTab} -

-
- -
-

{textContent.cards[selectedTab].description}

-
+ {/*Mobile/Tablet View*/} +
+ {textContent.cards.map((testimonial) => ( +
+
+

{testimonial.selectorTab}

+
+

{testimonial.description}

- ))} -
- -
- {textContent.cards.map((info, index) => ( - - ))} -
+
+ ))}
diff --git a/src/styles/globals.scss b/src/styles/globals.scss index 142105b36..7fdb902fd 100644 --- a/src/styles/globals.scss +++ b/src/styles/globals.scss @@ -215,3 +215,17 @@ input[type='number'] { height: 100%; } } + +/* Personalizar las barras de desplazamiento */ +.scroll-container::-webkit-scrollbar { + width: 8px; +} + +.scroll-container::-webkit-scrollbar-thumb { + background-color: white; + border-radius: 10px; +} + +.scroll-container::-webkit-scrollbar-thumb:hover { + background-color: rgba(15, 98, 254, 1); +}