make mentions the same size when focused (#442)

fixes #408
This commit is contained in:
Nolan Lawson 2018-08-18 22:56:56 -07:00 committed by GitHub
parent 9a79a6ff7f
commit a6039f6247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{#if mentions.length}
<div class="status-mentions">
<div class="status-mentions {isStatusInOwnThread ? 'status-in-own-thread' : ''}">
<p>
{#each mentions as mention, i}
{#if i > 0}
@ -22,6 +22,12 @@
margin: 10px 0 10px 5px;
font-size: 0.9em;
}
.status-mentions.status-in-own-thread {
font-size: 1.3em;
margin: 20px 10px 20px 5px;
}
</style>
<script>
export default {