mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-12 00:48:50 +01:00
Fix link style affecting status cards
This commit is contained in:
parent
ff3ef9fa45
commit
4a423b134d
2 changed files with 6 additions and 2 deletions
|
@ -525,10 +525,13 @@
|
||||||
.timeline-deck .status .content.truncated ~ .card {
|
.timeline-deck .status .content.truncated ~ .card {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.status .content a:not(.mention, .has-url-text) {
|
.status .content .inner-content a:not(.mention, .has-url-text) {
|
||||||
color: var(--link-text-color);
|
color: var(--link-text-color);
|
||||||
}
|
}
|
||||||
.status .content a:not(.mention, .has-url-text):is(:hover, :focus) {
|
.status
|
||||||
|
.content
|
||||||
|
.inner-content
|
||||||
|
a:not(.mention, .has-url-text):is(:hover, :focus) {
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
text-decoration-color: var(--link-color);
|
text-decoration-color: var(--link-color);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1081,6 +1081,7 @@ function Status({
|
||||||
data-read-more={readMoreText}
|
data-read-more={readMoreText}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
class="inner-content"
|
||||||
onClick={handleContentLinks({ mentions, instance, previewMode })}
|
onClick={handleContentLinks({ mentions, instance, previewMode })}
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: enhanceContent(content, {
|
__html: enhanceContent(content, {
|
||||||
|
|
Loading…
Reference in a new issue