File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { useTranslate } from 'i18n-calypso' ;
1
2
import PropTypes from 'prop-types' ;
2
3
import { useBlogStickersQuery } from 'calypso/blocks/blog-stickers/use-blog-stickers-query' ;
3
4
import ReaderPostOptionsMenuBlogStickerMenuItem from './blog-sticker-menu-item' ;
4
5
5
6
const blogStickersOffered = [ 'dont-recommend' , 'broken-in-reader' , 'a8c-test-blog' ] ;
6
7
7
8
function ReaderPostOptionsMenuBlogStickers ( { blogId } ) {
9
+ const translate = useTranslate ( ) ;
8
10
const { data : stickers = [ ] } = useBlogStickersQuery ( blogId ) ;
9
11
10
12
return (
11
13
< div className = "reader-post-options-menu__blog-stickers" >
14
+ < h3 > { translate ( 'Internal tools' ) } </ h3 >
12
15
{ blogStickersOffered . map ( ( blogStickerName ) => (
13
16
< ReaderPostOptionsMenuBlogStickerMenuItem
14
17
key = { blogStickerName }
Original file line number Diff line number Diff line change 100
100
margin : 4px 0 ;
101
101
background : var (--color-neutral-0 );
102
102
}
103
+
104
+ .reader-post-options-menu__blog-stickers h3 {
105
+ font-size : 13px ;
106
+ color : var (--color-neutral-40 );
107
+ margin : 0 ;
108
+ padding : 6px 20px 9px ;
109
+ text-align : left ;
110
+ text-transform : uppercase ;
111
+ }
You can’t perform that action at this time.
0 commit comments