diff --git a/src/components/Description/Description.js b/src/components/Description/Description.js index 8738e68a..ee8b124c 100644 --- a/src/components/Description/Description.js +++ b/src/components/Description/Description.js @@ -11,9 +11,9 @@ const Description = ({ onLoadMore }) => { const candidatesListArr = useSelector(selectProfiles); const filteredListArr = useSelector(selectFilteredCandidates); - function createMarkup(text) { - return { __html: text.split('

').slice(0, 3).join('') }; - } + // function createMarkup(text) { + // return { __html: text.split('

').slice(0, 3).join('') }; + // } return (
@@ -30,8 +30,8 @@ const Description = ({ onLoadMore }) => { {SKILLS[el.position_id]}, {LEVELS[el.level]} - {el.vc_text ? ( -
+ {el.vc_text_short ? ( +
{el.vc_text_short}
) : (

Описание отсутствует...

)} @@ -65,8 +65,8 @@ const Description = ({ onLoadMore }) => { {SKILLS[el.position_id]}, {LEVELS[el.level]} - {el.vc_text ? ( -
+ {el.vc_text_short ? ( +
{el.vc_text_short}
) : (

Описание отсутствует...

)} diff --git a/src/components/Description/Description.module.css b/src/components/Description/Description.module.css index 600ff211..ac5e0f52 100644 --- a/src/components/Description/Description.module.css +++ b/src/components/Description/Description.module.css @@ -73,7 +73,7 @@ } } -.description__text > p { +.description__text { font-family: 'GT Eesti Pro Display'; font-size: 1.6em; font-weight: 100; @@ -85,9 +85,9 @@ word-wrap: break-word; } -.description__text > p:first-child { +/* .description__text > p:first-child { font-size: 1.8em; -} +} */ .description__textSecondary { font-family: 'GT Eesti Pro Display';