mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +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 {
|
||||
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);
|
||||
}
|
||||
.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);
|
||||
text-decoration-color: var(--link-color);
|
||||
}
|
||||
|
|
|
@ -1081,6 +1081,7 @@ function Status({
|
|||
data-read-more={readMoreText}
|
||||
>
|
||||
<div
|
||||
class="inner-content"
|
||||
onClick={handleContentLinks({ mentions, instance, previewMode })}
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: enhanceContent(content, {
|
||||
|
|
Loading…
Reference in a new issue