Fix extra gap between user display name and View on original instance
https://fedi.nano.lgbt/@itzzen@mstdn.plus.st
This commit is contained in:
parent
b9571f313e
commit
bda0bff294
|
@ -204,7 +204,7 @@ svg {
|
|||
width: 7.5em;
|
||||
height: 7.5em;
|
||||
}
|
||||
.user_page-main_header span {
|
||||
.user_page-main_header_text {
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
margin-left: 0.5em;
|
||||
|
|
|
@ -111,7 +111,7 @@ static inline Element user_header(const httplib::Request& req, const std::string
|
|||
Element("a", {{"href", account.avatar}}, {
|
||||
Element("img", {{"class", "user_page-profile"}, {"alt", "User profile picture"}, {"loading", "lazy"}, {"src", account.avatar}}, {}),
|
||||
}),
|
||||
Element("span", {
|
||||
Element("span", {{"class", "user_page-main_header_text"}}, {
|
||||
// left-to-right override--thank https://anarres.family/@alice@mk.nyaa.place
|
||||
Element("b", {preprocess_html(req, account.emojis, account.display_name)}), "\u202d", account.bot ? " (bot)" : "", " (@", account.acct(), ")", view_on_original,
|
||||
Element("br"),
|
||||
|
|
Loading…
Reference in New Issue