Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
💄 style: update the iconfont and tweak the style of the code section (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
xingwanying authored Oct 25, 2021
1 parent c6e3963 commit c6bf8b2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion @antv/gatsby-theme-antv/site/components/PlayGrounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import styles from './PlayGrounds.module.less';

// menu icon
const MenuIcon = createFromIconfontCN({
scriptUrl: '//at.alicdn.com/t/font_470089_9m0keqj54r.js', // generated by iconfont.cn
scriptUrl: '//at.alicdn.com/t/font_470089_1lnym745udm.js', // generated by iconfont.cn
});

const { SubMenu } = Menu;
Expand Down
2 changes: 1 addition & 1 deletion @antv/gatsby-theme-antv/site/templates/example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const { Link: AnchorLink } = Anchor;
let gallery = false;

const MenuIcon = createFromIconfontCN({
scriptUrl: '//at.alicdn.com/t/font_470089_9m0keqj54r.js', // generated by iconfont.cn
scriptUrl: '//at.alicdn.com/t/font_470089_1lnym745udm.js', // generated by iconfont.cn
});

const BANNER_LOCALSTORAGE_KEY = 'antv_gallery_banner';
Expand Down
6 changes: 5 additions & 1 deletion @antv/gatsby-theme-antv/site/templates/markdown.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@

code[class*='language-'] {
background: none;
white-space: initial;
}

code[class*='language-text'] {
white-space: break-spaces;
word-break: break-word;
}

code.language-sign,
Expand Down

0 comments on commit c6bf8b2

Please sign in to comment.