mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-05-19 07:26:46 +00:00
chore: improve sticker rendering and CSS specificity
Enhanced sticker rendering by adding optional chaining for safer DOM traversal and reordered sticker rendering logic to ensure proper inclusion in post content. Improved CSS specificity for sticker styling to ensure consistent application across components.
This commit is contained in:
@@ -181,6 +181,11 @@ const timeago = datetime.isBefore(dayjs().subtract(1, 'w'))
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.content :global(.sticker) {
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.tag-box {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user