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
This commit is contained in:
Vivek Agrawal
2019-10-17 12:59:06 +05:30
committed by Ahmad Abdolsaheb
parent 2e82c76b53
commit a443509caa
7 changed files with 28 additions and 5 deletions

View File

@ -200,7 +200,9 @@ export function ShowSettings(props) {
</Button>
</FullWidthRow>
<Spacer />
<h1 className='text-center'>{`Account Settings for ${username}`}</h1>
<h1 className='text-center' style={{ overflowWrap: 'break-word' }}>
{`Account Settings for ${username}`}
</h1>
<About
about={about}
currentTheme={theme}

View File

@ -91,8 +91,7 @@
}
.wallet {
overflow-wrap: break-word;
white-space: normal;
word-break: break-all;
}
.alert p {

View File

@ -8,6 +8,11 @@
z-index: 1000;
}
.flash-message div {
max-width: 100%;
overflow-wrap: break-word;
}
.flash-message-enter {
opacity: 0;
}

View File

@ -63,6 +63,7 @@ p {
.big-heading {
font-size: 2.5rem !important;
overflow-wrap: break-word;
}
.medium-heading {
@ -257,6 +258,10 @@ input {
border-radius: 0px;
}
textarea {
resize: vertical;
}
form {
margin-bottom: 5px;
}
@ -405,6 +410,7 @@ blockquote .small {
.alert {
border-radius: 0px;
overflow-wrap: break-word;
}
/* gatsby 404 */

View File

@ -70,7 +70,7 @@ function renderMessage(isSessionUser, username) {
) : (
<Fragment>
<FullWidthRow>
<h2 className='text-center'>
<h2 className='text-center' style={{ overflowWrap: 'break-word' }}>
{username} has not made their portfolio public.
</h2>
</FullWidthRow>

View File

@ -6,3 +6,10 @@
display: flex;
justify-content: center;
}
.username,
.name,
.bio,
.location {
overflow-wrap: break-word;
}

View File

@ -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;
}