diff --git a/src/app/assets/icons/circle_info.svg b/src/app/assets/icons/circle_info.svg new file mode 100644 index 00000000..a2ee2f5d --- /dev/null +++ b/src/app/assets/icons/circle_info.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/app/common/common.less b/src/app/common/common.less index 286ee6ab..6e6bf8b5 100644 --- a/src/app/common/common.less +++ b/src/app/common/common.less @@ -20,9 +20,16 @@ z-index: 5; overflow: hidden; + .icon { + display: inline; + width: 1em; + height: 1em; + fill: @base-color; + padding-top: 0.2em; + } + .info-icon { margin-right: 5px; - width: 12px; flex-shrink: 0; } diff --git a/src/app/common/common.tsx b/src/app/common/common.tsx index 98de7a4c..85c0bfd9 100644 --- a/src/app/common/common.tsx +++ b/src/app/common/common.tsx @@ -13,6 +13,7 @@ import { ReactComponent as CopyIcon } from "../assets/icons/history/copy.svg"; import { ReactComponent as CircleIcon } from "../assets/icons/circle.svg"; import { ReactComponent as KeyIcon } from "../assets/icons/key.svg"; import { ReactComponent as RotateIcon } from "../assets/icons/rotate_left.svg"; +import { ReactComponent as CircleInfoIcon } from "../assets/icons/circle_info.svg"; import "./common.less"; @@ -250,11 +251,11 @@ class InfoMessage extends React.Component<{ width: number; children: React.React return (
- +
- +
{this.props.children}