File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
packages/react-notion-x/src Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,14 @@ export const EOI: React.FC<{
63
63
64
64
< div className = 'notion-external-description' >
65
65
< div className = 'notion-external-title' > { title } </ div >
66
-
67
- { ( owner || lastUpdated ) && (
66
+ { ! inline && owner ? (
67
+ < div className = 'notion-external-block-desc' >
68
+ { owner }
69
+ { lastUpdated && < span > • </ span > }
70
+ { lastUpdated && `Updated ${ lastUpdated } ` }
71
+ </ div >
72
+ ) : null }
73
+ { inline && ( owner || lastUpdated ) && (
68
74
< MentionPreviewCard
69
75
title = { title }
70
76
owner = { owner }
Original file line number Diff line number Diff line change @@ -2729,6 +2729,13 @@ svg.notion-page-icon {
2729
2729
color : var (--fg-color-3 );
2730
2730
}
2731
2731
2732
+ .notion-external-block-desc {
2733
+ color : rgba (55 , 53 , 47 , 0.65 );
2734
+ font-size : 12px ;
2735
+ white-space : nowrap;
2736
+ padding-top : 4px ;
2737
+ }
2738
+
2732
2739
.notion-external-mention .notion-external-subtitle {
2733
2740
display : none;
2734
2741
position : absolute;
You can’t perform that action at this time.
0 commit comments