From a443509caa5b6724cc0fa2bbff92dca9d3817d76 Mon Sep 17 00:00:00 2001 From: Vivek Agrawal Date: Thu, 17 Oct 2019 12:59:06 +0530 Subject: [PATCH] fix: text overflow & portfolio hr (#37189) * fix: text overflow & portfolio hr * fix: code wrap * fix: wrap locally * fix: wrap location & resolve conflict * fix: deprecated api * fix: private portfolio overflows --- client/src/client-only-routes/ShowSettings.js | 4 +++- client/src/components/Donation/Donation.css | 3 +-- client/src/components/Flash/flash.css | 5 +++++ client/src/components/layouts/global.css | 6 ++++++ client/src/components/profile/Profile.js | 2 +- client/src/components/profile/components/camper.css | 7 +++++++ client/src/components/profile/components/portfolio.css | 6 +++++- 7 files changed, 28 insertions(+), 5 deletions(-) diff --git a/client/src/client-only-routes/ShowSettings.js b/client/src/client-only-routes/ShowSettings.js index f2ccff3582..75e8a74bc0 100644 --- a/client/src/client-only-routes/ShowSettings.js +++ b/client/src/client-only-routes/ShowSettings.js @@ -200,7 +200,9 @@ export function ShowSettings(props) { -

{`Account Settings for ${username}`}

+

+ {`Account Settings for ${username}`} +

-

+

{username} has not made their portfolio public.

diff --git a/client/src/components/profile/components/camper.css b/client/src/components/profile/components/camper.css index 71280fbe5c..74cda3cee4 100644 --- a/client/src/components/profile/components/camper.css +++ b/client/src/components/profile/components/camper.css @@ -6,3 +6,10 @@ display: flex; justify-content: center; } + +.username, +.name, +.bio, +.location { + overflow-wrap: break-word; +} diff --git a/client/src/components/profile/components/portfolio.css b/client/src/components/profile/components/portfolio.css index a9f9f0385a..1a91a8bb7a 100644 --- a/client/src/components/profile/components/portfolio.css +++ b/client/src/components/profile/components/portfolio.css @@ -1,8 +1,12 @@ .portfolio-heading.media-heading { - border-bottom: 1px solid rgba(0, 100, 0, 0.6); + border-bottom: 1px solid var(--quaternary-background); padding-bottom: 10px; } .portfolio-screen-shot { width: 150px; min-width: 150px; } + +.media { + word-break: break-all; +}