mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
#58 fixed submit bar lab icon
This commit is contained in:
parent
f7b8a9c0c3
commit
54b2b62a54
2 changed files with 4 additions and 2 deletions
|
@ -23,6 +23,8 @@ const SubmitBar: FC<Props> = ({ isLab }) => {
|
|||
[url]
|
||||
);
|
||||
|
||||
const icon = isLab ? 'lab' : 'plus';
|
||||
|
||||
return (
|
||||
<div className={classNames(styles.wrap, { [styles.lab]: isLab })}>
|
||||
<div className={classNames(styles.panel, { [styles.active]: focused })}>
|
||||
|
@ -44,7 +46,7 @@ const SubmitBar: FC<Props> = ({ isLab }) => {
|
|||
</div>
|
||||
|
||||
<button className={styles.button} onFocus={onFocus} onBlur={onBlur} type="button">
|
||||
<Icon icon="plus" />
|
||||
<Icon icon={icon} />
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -262,7 +262,7 @@ const Sprites: FC = () => (
|
|||
|
||||
<g id="lab" stroke="none">
|
||||
<path fill="none" d="M0 0h24v24H0V0z" />
|
||||
<path d="M 8.0390625 4 C 7.6190625 4 7.3903906 4.4805469 7.6503906 4.8105469 L 9 6.5 L 9 10.669922 L 3.1992188 18.400391 C 2.7092187 19.060391 3.18 20 4 20 L 20 20 C 20.82 20 21.290781 19.060391 20.800781 18.400391 L 15 10.669922 L 15 6.5 L 16.349609 4.8105469 C 16.609609 4.4805469 16.380937 4 15.960938 4 L 8.0390625 4 z M 11 6 L 13 6 L 13 11.330078 L 18 18 L 6 18 L 11 11.330078 L 11 6 z M 11.044922 13.955078 C 10.78553 13.967416 10.487559 14.077982 10.09375 14.365234 L 7.8417969 17.300781 L 15.972656 17.191406 L 13.962891 14.365234 C 12.262235 14.763845 11.823097 13.918064 11.044922 13.955078 z" />
|
||||
<path d="m 8.0390625,4 c -0.42,0 -0.6486719,0.4805469 -0.3886719,0.8105469 L 9,6.5 v 4.169922 L 3.1992188,18.400391 C 2.7092187,19.060391 3.18,20 4,20 h 16 c 0.82,0 1.290781,-0.939609 0.800781,-1.599609 L 15,10.669922 V 6.5 L 16.349609,4.8105469 C 16.609609,4.4805469 16.380937,4 15.960938,4 Z M 11,6 h 2 v 5.330078 L 18,18 H 6 l 5,-6.669922 z m 0.04492,7.955078 c -0.259392,0.01234 -0.557363,0.122904 -0.951172,0.410156 l -1.7097479,2.229414 c -0.1823591,0.278891 0.040856,0.43237 0.2122523,0.411368 l 6.9533876,-0.101872 c 0.145449,-0.03519 0.142069,-0.119815 0.13947,-0.204177 l -1.726221,-2.334733 c -1.700656,0.398611 -2.139794,-0.44717 -2.917969,-0.410156 z" />
|
||||
</g>
|
||||
|
||||
<g id="search">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue