Fix sensitive content bugs

This commit is contained in:
Justin 2022-04-04 16:51:29 -04:00
parent bacc34f872
commit 6e62f894e3
3 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
import classNames from 'classnames';
type ButtonThemes = 'primary' | 'secondary' | 'ghost' | 'accent' | 'danger'
type ButtonThemes = 'primary' | 'secondary' | 'ghost' | 'accent' | 'danger' | 'transparent'
type ButtonSizes = 'sm' | 'md' | 'lg'
type IButtonStyles = {
@ -24,6 +24,7 @@ const useButtonStyles = ({
ghost: 'shadow-none border-gray-200 text-gray-700 bg-white focus:ring-primary-500 focus:ring-2 focus:ring-offset-2',
accent: 'border-transparent text-white bg-accent-500 hover:bg-accent-300 focus:ring-pink-500 focus:ring-2 focus:ring-offset-2',
danger: 'border-transparent text-danger-700 bg-danger-100 hover:bg-danger-200 focus:ring-danger-500 focus:ring-2 focus:ring-offset-2',
transparent: 'border-transparent text-gray-800 backdrop-blur-sm bg-white/75 hover:bg-white/80',
};
const sizes = {

View file

@ -4,7 +4,7 @@
width: 100%;
height: 100%;
position: absolute;
z-index: 100;
z-index: 40;
&--minified {
display: block;