Removed box shadow and fixed button width (#491)
This commit is contained in:
1 parent
4053a6a785
commit
dd834fc2c5
3 files changed
+18
-1
No files matched your search
@@ -60,10 +60,15 @@ const Button = ({ id, type, level, label, disabled, img, onClick, sx }) => {
|
|||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
disableRipple
|
disableRipple
|
||||||
sx={{
|
sx={{
|
||||||
|
boxShadow: "none",
|
||||||
textTransform: "none",
|
textTransform: "none",
|
||||||
"&:focus": {
|
"&:focus": {
|
||||||
outline: "none",
|
outline: "none",
|
||||||
},
|
},
|
||||||
|
"&:hover": {
|
||||||
|
boxShadow: "none",
|
||||||
|
transition: "none"
|
||||||
|
},
|
||||||
...sx,
|
...sx,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -72,10 +72,15 @@ const ButtonSpinner = ({
|
|||||||
loading={isLoading}
|
loading={isLoading}
|
||||||
disableRipple
|
disableRipple
|
||||||
sx={{
|
sx={{
|
||||||
|
boxShadow: "none",
|
||||||
textTransform: "none",
|
textTransform: "none",
|
||||||
"&:focus": {
|
"&:focus": {
|
||||||
outline: "none",
|
outline: "none",
|
||||||
},
|
},
|
||||||
|
"&:hover": {
|
||||||
|
boxShadow: "none",
|
||||||
|
transition: "none"
|
||||||
|
},
|
||||||
...sx,
|
...sx,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -268,7 +268,14 @@ const Configure = () => {
|
|||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Stack direction="row" justifyContent="flex-end">
|
<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>
|
</Stack>
|
||||||
</form>
|
</form>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in new issue
Block a user