File tree 2 files changed +6
-4
lines changed
src/lib/output/themes/default/partials
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
import type { Reflection } from "../../../../models" ;
2
2
import { JSX } from "../../../../utils" ;
3
3
import type { PageEvent } from "../../../events" ;
4
- import { hasTypeParameters , join } from "../../lib" ;
4
+ import { hasTypeParameters , join , renderFlags } from "../../lib" ;
5
5
import type { DefaultThemeRenderContext } from "../DefaultThemeRenderContext" ;
6
6
7
7
export const header = ( context : DefaultThemeRenderContext , props : PageEvent < Reflection > ) => (
@@ -77,7 +77,8 @@ export const header = (context: DefaultThemeRenderContext, props: PageEvent<Refl
77
77
{ join ( ", " , props . model . typeParameters , ( item ) => item . name ) }
78
78
{ ">" }
79
79
</ >
80
- ) }
80
+ ) } { " " }
81
+ { renderFlags ( props . model . flags ) }
81
82
</ h1 >
82
83
</ div >
83
84
</ div >
Original file line number Diff line number Diff line change @@ -766,12 +766,13 @@ footer .tsd-legend {
766
766
767
767
.tsd-flag {
768
768
display : inline-block;
769
- padding : 1 px 5 px ;
769
+ padding : 0.25 em 0.4 em ;
770
770
border-radius : 4px ;
771
771
color : var (--color-comment-tag-text );
772
772
background-color : var (--color-comment-tag );
773
773
text-indent : 0 ;
774
- font-size : 14px ;
774
+ font-size : 75% ;
775
+ line-height : 1 ;
775
776
font-weight : normal;
776
777
}
777
778
You can’t perform that action at this time.
0 commit comments