improve other-actions again
This commit is contained in:
parent
bb044315cd
commit
f8a5918fc8
2 changed files with 13 additions and 13 deletions
|
|
@ -167,9 +167,10 @@
|
||||||
display: inline-grid;
|
display: inline-grid;
|
||||||
grid-auto-flow: column;
|
grid-auto-flow: column;
|
||||||
grid-gap: 0.6em;
|
grid-gap: 0.6em;
|
||||||
|
flex: 1;
|
||||||
font-size: 110%;
|
font-size: 110%;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
align-self: start;
|
align-self: end;
|
||||||
|
|
||||||
a, button, div {
|
a, button, div {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -240,6 +241,7 @@
|
||||||
|
|
||||||
.top-line {
|
.top-line {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
// these two normalize position and height when custom emoji are used
|
// these two normalize position and height when custom emoji are used
|
||||||
line-height: 2;
|
line-height: 2;
|
||||||
|
|
@ -274,10 +276,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-name {
|
.user-name {
|
||||||
align-self: end;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex: 1 1 auto;
|
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,16 +39,6 @@
|
||||||
</router-link>
|
</router-link>
|
||||||
<div class="user-summary">
|
<div class="user-summary">
|
||||||
<div class="top-line">
|
<div class="top-line">
|
||||||
<router-link
|
|
||||||
:to="userProfileLink(user)"
|
|
||||||
class="user-name"
|
|
||||||
>
|
|
||||||
<RichContent
|
|
||||||
:title="user.name"
|
|
||||||
:html="user.name"
|
|
||||||
:emoji="user.emoji"
|
|
||||||
/>
|
|
||||||
</router-link>
|
|
||||||
<div class="other-actions">
|
<div class="other-actions">
|
||||||
<button
|
<button
|
||||||
v-if="!isOtherUser && user.is_local"
|
v-if="!isOtherUser && user.is_local"
|
||||||
|
|
@ -100,6 +90,16 @@
|
||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<router-link
|
||||||
|
:to="userProfileLink(user)"
|
||||||
|
class="user-name"
|
||||||
|
>
|
||||||
|
<RichContent
|
||||||
|
:title="user.name"
|
||||||
|
:html="user.name"
|
||||||
|
:emoji="user.emoji"
|
||||||
|
/>
|
||||||
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom-line">
|
<div class="bottom-line">
|
||||||
<div class="user-screen-name">
|
<div class="user-screen-name">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue