Removed box shadow and fixed button width (#491)

This commit is contained in:
Daniel C authored and GitHub committed 2024-07-30 13:09:46 -07:00
1 parent 4053a6a785
commit dd834fc2c5
3 files changed
+18 -1

No files matched your search

+5
View File
@@ -60,10 +60,15 @@ const Button = ({ id, type, level, label, disabled, img, onClick, sx }) => {
onClick={onClick}
disableRipple
sx={{
boxShadow: "none",
textTransform: "none",
"&:focus": {
outline: "none",
},
"&:hover": {
boxShadow: "none",
transition: "none"
},
...sx,
}}
>
@@ -72,10 +72,15 @@ const ButtonSpinner = ({
loading={isLoading}
disableRipple
sx={{
boxShadow: "none",
textTransform: "none",
"&:focus": {
outline: "none",
},
"&:hover": {
boxShadow: "none",
transition: "none"
},
...sx,
}}
>
@@ -268,7 +268,14 @@ const Configure = () => {
</Stack>
</Stack>
<Stack direction="row" justifyContent="flex-end">
<Button level="primary" label="Save" sx={{ px: theme.gap.ml }} />
<Button
type="submit"
level="primary"
label="Save"
sx={{
minWidth: "80px",
}}
/>
</Stack>
</form>
</Box>