Change profile fields design to horizontal

This commit is contained in:
kPherox 2019-11-18 02:16:37 +09:00
parent 2bc549a66a
commit 004827a7f1
No known key found for this signature in database
GPG key ID: C04751C2BFA2F62D

View file

@ -159,15 +159,31 @@
max-height: 400px; max-height: 400px;
&.emoji { &.emoji {
width: 32px; width: 18px;
height: 32px; height: 18px;
} }
} }
dl { dl {
display: flex;
margin: 1em 1.5em; margin: 1em 1.5em;
dt {
flex: 0 0 auto;
font-weight: 500;
color: var(--lightText);
width: 30%;
min-width: 120px;
}
dd {
flex: 1 1 auto;
color: var(--text);
margin-left: 10px;
}
dt, dd { dt, dd {
line-height: 18px;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;