mirror of https://github.com/usememos/memos
chore: add beta badge
parent
2f33eceada
commit
dd04bc9e1d
@ -0,0 +1,13 @@
|
||||
import "../less/beta-badge.less";
|
||||
|
||||
interface Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const BetaBadge: React.FC<Props> = (props: Props) => {
|
||||
const { className } = props;
|
||||
|
||||
return <span className={`beta-badge ${className ?? ""}`}>beta</span>;
|
||||
};
|
||||
|
||||
export default BetaBadge;
|
@ -0,0 +1,3 @@
|
||||
.beta-badge {
|
||||
@apply px-2 text-xs border rounded-lg text-gray-400;
|
||||
}
|
@ -1,12 +1,11 @@
|
||||
@import "../mixin.less";
|
||||
|
||||
.preferences-section-container {
|
||||
> .btns-container {
|
||||
.flex(row, flex-start, center);
|
||||
@apply w-full;
|
||||
> .form-label {
|
||||
@apply mb-2;
|
||||
|
||||
> .btn {
|
||||
@apply border text-sm py-1 px-3 mr-2 rounded leading-6 shadow hover:opacity-80;
|
||||
> .normal-text {
|
||||
@apply mr-2 text-sm;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue