mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-10 06:50:12 +08:00
Tweak mark as read icon alignment
This commit is contained in:
@@ -193,6 +193,7 @@ export function EventCardHeader(props: EventCardHeaderProps) {
|
||||
enableForegroundHover
|
||||
fixedIconSize
|
||||
iconName={isRead ? 'mail-read' : 'mail'}
|
||||
iconStyle={isRead ? undefined : { lineHeight: 18 }}
|
||||
onPress={() =>
|
||||
markItemsAsReadOrUnread({
|
||||
type: 'activity',
|
||||
|
||||
@@ -226,6 +226,7 @@ export function NotificationCardHeader(props: NotificationCardHeaderProps) {
|
||||
enableForegroundHover
|
||||
fixedIconSize
|
||||
iconName={isRead ? 'mail-read' : 'mail'}
|
||||
iconStyle={isRead ? undefined : { lineHeight: 18 }}
|
||||
onPress={() =>
|
||||
markItemsAsReadOrUnread({
|
||||
type: 'notifications',
|
||||
|
||||
Reference in New Issue
Block a user