Minor fixes for channel-about page #2520
2 changed files with 6 additions and 1 deletions
|
@ -27,7 +27,7 @@ function ChannelContent(props: Props) {
|
|||
{showAbout && (
|
||||
<Fragment>
|
||||
{description && (
|
||||
<div className="media__info-text">
|
||||
<div className="media__info-text media__info-text--small">
|
||||
<MarkdownPreview content={description} promptLinks />
|
||||
</div>
|
||||
)}
|
||||
|
|
|
@ -260,11 +260,16 @@
|
|||
|
||||
.media__info-text {
|
||||
font-size: 1.15rem;
|
||||
word-break: break-word;
|
||||
Oh, I see, then I think Oh, I see, then I think `word-break: break-word` should work for both cases :+1:
@seanyesmunt How long should be the @seanyesmunt How long should be the `max-width` ?
I added I added `70%` as a random value, looks good in my screen :stuck_out_tongue:
|
||||
|
||||
&:not(:last-of-type) {
|
||||
margin-bottom: var(--spacing-vertical-large);
|
||||
}
|
||||
|
||||
&.media__info-text--small {
|
||||
max-width: 70%;
|
||||
}
|
||||
|
||||
&.media__info-text--center {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue
This was used as a quick fix to prevent super long links from not wrapping. Checkout some of cryptocandors content to see it.
Can we add a Max width on this for this? Mostly for the channel page.
Try editing the description to be really long to see the current issue.