mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-10-26 19:21:58 -06:00
Align credential list grid styling
This commit is contained in:
@@ -294,14 +294,15 @@ export default function CredentialList({ isAdmin = false }) {
|
|||||||
m: 2,
|
m: 2,
|
||||||
p: 0,
|
p: 0,
|
||||||
bgcolor: "#1e1e1e",
|
bgcolor: "#1e1e1e",
|
||||||
borderRadius: 2,
|
|
||||||
fontFamily: gridFontFamily,
|
fontFamily: gridFontFamily,
|
||||||
color: "#f5f7fa",
|
color: "#f5f7fa",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
|
flexGrow: 1,
|
||||||
|
minWidth: 0,
|
||||||
minHeight: 420
|
minHeight: 420
|
||||||
}}
|
}}
|
||||||
elevation={3}
|
elevation={2}
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
@@ -367,12 +368,12 @@ export default function CredentialList({ isAdmin = false }) {
|
|||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
minHeight: 320,
|
minHeight: 0,
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
ml: 2,
|
mt: "10px",
|
||||||
mr: 2,
|
px: 2,
|
||||||
mb: 2
|
pb: 2
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
@@ -384,9 +385,11 @@ export default function CredentialList({ isAdmin = false }) {
|
|||||||
fontFamily: gridFontFamily,
|
fontFamily: gridFontFamily,
|
||||||
"--ag-font-family": gridFontFamily,
|
"--ag-font-family": gridFontFamily,
|
||||||
"--ag-icon-font-family": iconFontFamily,
|
"--ag-icon-font-family": iconFontFamily,
|
||||||
|
"--ag-row-border-style": "solid",
|
||||||
|
"--ag-row-border-color": "#2a2a2a",
|
||||||
|
"--ag-row-border-width": "1px",
|
||||||
"& .ag-root-wrapper": {
|
"& .ag-root-wrapper": {
|
||||||
borderRadius: "0 0 16px 16px",
|
borderRadius: 1,
|
||||||
borderColor: "#2a2a2a",
|
|
||||||
minHeight: 320
|
minHeight: 320
|
||||||
},
|
},
|
||||||
"& .ag-root, & .ag-header, & .ag-center-cols-container, & .ag-paging-panel": {
|
"& .ag-root, & .ag-header, & .ag-center-cols-container, & .ag-paging-panel": {
|
||||||
@@ -394,12 +397,6 @@ export default function CredentialList({ isAdmin = false }) {
|
|||||||
},
|
},
|
||||||
"& .ag-icon": {
|
"& .ag-icon": {
|
||||||
fontFamily: iconFontFamily
|
fontFamily: iconFontFamily
|
||||||
},
|
|
||||||
"& .ag-header": {
|
|
||||||
borderBottom: "1px solid #2a2a2a"
|
|
||||||
},
|
|
||||||
"& .ag-row": {
|
|
||||||
borderColor: "#2a2a2a"
|
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
style={{ color: "#f5f7fa" }}
|
style={{ color: "#f5f7fa" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user