mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed delete button on tags
This commit is contained in:
parent
7bac04d2fe
commit
5c9cd8c020
7 changed files with 47 additions and 43 deletions
|
@ -1,14 +1,8 @@
|
|||
import React, { FC, HTMLAttributes } from 'react';
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
type IProps = HTMLAttributes<HTMLDivElement> & {}
|
||||
type IProps = HTMLAttributes<HTMLDivElement> & {};
|
||||
|
||||
const TagField: FC<IProps> = ({
|
||||
children,
|
||||
}) => (
|
||||
<div className={styles.wrap}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
const TagField: FC<IProps> = ({ children }) => <div className={styles.wrap}>{children}</div>;
|
||||
|
||||
export { TagField };
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
@import "src/styles/colors";
|
||||
|
||||
.wrap {
|
||||
display: flex;
|
||||
|
@ -10,3 +11,8 @@
|
|||
margin: $gap / 2;
|
||||
}
|
||||
}
|
||||
|
||||
.edit {
|
||||
opacity: 0.5;
|
||||
float: right;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue