mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 09:15:33 +03:00
Attempt to fix more vertical alignments
This commit is contained in:
parent
b80bcdbf09
commit
05bf79870a
3 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,11 @@
|
|||
.name-text {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
.name-text.show-acct {
|
||||
display: inline-block;
|
||||
}
|
||||
a.name-text:is(:hover, :focus) b,
|
||||
|
|
|
@ -36,7 +36,7 @@ function NameText({
|
|||
|
||||
return (
|
||||
<a
|
||||
class={`name-text ${short ? 'short' : ''}`}
|
||||
class={`name-text ${showAcct ? 'show-acct' : ''} ${short ? 'short' : ''}`}
|
||||
href={url}
|
||||
target={external ? '_blank' : null}
|
||||
title={`@${acct}`}
|
||||
|
|
|
@ -46,11 +46,6 @@
|
|||
overflow: hidden;
|
||||
margin-bottom: -8px;
|
||||
}
|
||||
.status-pre-meta .name-text {
|
||||
display: inline-flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
.status-pre-meta > * {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue