mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-09 01:26:24 +01: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 {
|
.name-text {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
display: inline-flex;
|
||||||
|
gap: 4px;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.name-text.show-acct {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
a.name-text:is(:hover, :focus) b,
|
a.name-text:is(:hover, :focus) b,
|
||||||
|
|
|
@ -36,7 +36,7 @@ function NameText({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
class={`name-text ${short ? 'short' : ''}`}
|
class={`name-text ${showAcct ? 'show-acct' : ''} ${short ? 'short' : ''}`}
|
||||||
href={url}
|
href={url}
|
||||||
target={external ? '_blank' : null}
|
target={external ? '_blank' : null}
|
||||||
title={`@${acct}`}
|
title={`@${acct}`}
|
||||||
|
|
|
@ -46,11 +46,6 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: -8px;
|
margin-bottom: -8px;
|
||||||
}
|
}
|
||||||
.status-pre-meta .name-text {
|
|
||||||
display: inline-flex;
|
|
||||||
gap: 4px;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.status-pre-meta > * {
|
.status-pre-meta > * {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue