UX: ensure gists occupy full row (#934)
This commit is contained in:
parent
1a10680818
commit
b68a4ca718
|
@ -25,12 +25,14 @@ export default class AiTopicGist extends Component {
|
|||
{{#if this.shouldShow}}
|
||||
{{#if this.hasGist}}
|
||||
<div class="excerpt">
|
||||
<div>{{this.gist}}</div>
|
||||
<div class="excerpt__contents">{{this.gist}}</div>
|
||||
</div>
|
||||
{{else}}
|
||||
{{#if this.esacpedExceprt}}
|
||||
<div class="excerpt">
|
||||
<div>{{htmlSafe this.escapedExceprt}}</div>
|
||||
<div class="excerpt__contents">
|
||||
{{htmlSafe this.escapedExceprt}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
@ -39,7 +39,9 @@
|
|||
line-height: var(--line-height-large);
|
||||
margin-top: 0.15em;
|
||||
margin-bottom: 0.15em;
|
||||
max-width: 70ch;
|
||||
&__contents {
|
||||
max-width: 70ch;
|
||||
}
|
||||
}
|
||||
&:not(.visited) {
|
||||
.excerpt {
|
||||
|
|
Loading…
Reference in New Issue