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:
committed by
Ahmad Abdolsaheb
parent
2e82c76b53
commit
a443509caa
@ -200,7 +200,9 @@ export function ShowSettings(props) {
|
|||||||
</Button>
|
</Button>
|
||||||
</FullWidthRow>
|
</FullWidthRow>
|
||||||
<Spacer />
|
<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={about}
|
about={about}
|
||||||
currentTheme={theme}
|
currentTheme={theme}
|
||||||
|
@ -91,8 +91,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wallet {
|
.wallet {
|
||||||
overflow-wrap: break-word;
|
word-break: break-all;
|
||||||
white-space: normal;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert p {
|
.alert p {
|
||||||
|
@ -8,6 +8,11 @@
|
|||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flash-message div {
|
||||||
|
max-width: 100%;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
.flash-message-enter {
|
.flash-message-enter {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
@ -63,6 +63,7 @@ p {
|
|||||||
|
|
||||||
.big-heading {
|
.big-heading {
|
||||||
font-size: 2.5rem !important;
|
font-size: 2.5rem !important;
|
||||||
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.medium-heading {
|
.medium-heading {
|
||||||
@ -257,6 +258,10 @@ input {
|
|||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
form {
|
form {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
@ -405,6 +410,7 @@ blockquote .small {
|
|||||||
|
|
||||||
.alert {
|
.alert {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* gatsby 404 */
|
/* gatsby 404 */
|
||||||
|
@ -70,7 +70,7 @@ function renderMessage(isSessionUser, username) {
|
|||||||
) : (
|
) : (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<FullWidthRow>
|
<FullWidthRow>
|
||||||
<h2 className='text-center'>
|
<h2 className='text-center' style={{ overflowWrap: 'break-word' }}>
|
||||||
{username} has not made their portfolio public.
|
{username} has not made their portfolio public.
|
||||||
</h2>
|
</h2>
|
||||||
</FullWidthRow>
|
</FullWidthRow>
|
||||||
|
@ -6,3 +6,10 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.username,
|
||||||
|
.name,
|
||||||
|
.bio,
|
||||||
|
.location {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
.portfolio-heading.media-heading {
|
.portfolio-heading.media-heading {
|
||||||
border-bottom: 1px solid rgba(0, 100, 0, 0.6);
|
border-bottom: 1px solid var(--quaternary-background);
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.portfolio-screen-shot {
|
.portfolio-screen-shot {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.media {
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user