Enhance styling consistency and alignment in Admin Panel
Centered elements in the Admin Panel using `justifyItems: "center"`. Adjusted input padding, font size, and primary button styling for improved layout and usability.
This commit is contained in:
@@ -137,7 +137,14 @@ export default function AdminPanel() {
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style={{ marginTop: 12, display: "grid", gap: 8 }}>
|
<div
|
||||||
|
style={{
|
||||||
|
marginTop: 12,
|
||||||
|
display: "grid",
|
||||||
|
gap: 8,
|
||||||
|
justifyItems: "center", // <<< zentriert alles
|
||||||
|
}}
|
||||||
|
>
|
||||||
<input
|
<input
|
||||||
value={displayName}
|
value={displayName}
|
||||||
onChange={(e) => setDisplayName(e.target.value)}
|
onChange={(e) => setDisplayName(e.target.value)}
|
||||||
|
|||||||
@@ -122,13 +122,13 @@ export const styles = {
|
|||||||
|
|
||||||
input: {
|
input: {
|
||||||
width: "100%",
|
width: "100%",
|
||||||
padding: 10,
|
padding: "10px 12px",
|
||||||
borderRadius: 12,
|
borderRadius: 14,
|
||||||
border: `1px solid rgba(233,216,166,0.18)`,
|
border: `1px solid rgba(233,216,166,0.18)`,
|
||||||
background: "rgba(10,10,12,0.55)",
|
background: "rgba(10,10,12,0.55)",
|
||||||
color: stylesTokens.textMain,
|
color: stylesTokens.textMain,
|
||||||
outline: "none",
|
outline: "none",
|
||||||
fontSize: 16,
|
fontSize: 15,
|
||||||
},
|
},
|
||||||
|
|
||||||
primaryBtn: {
|
primaryBtn: {
|
||||||
@@ -197,7 +197,7 @@ export const styles = {
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
padding: 16,
|
padding: 12,
|
||||||
zIndex: 2147483647, // wirklich ganz oben
|
zIndex: 2147483647, // wirklich ganz oben
|
||||||
background: "rgba(0,0,0,0.72)",
|
background: "rgba(0,0,0,0.72)",
|
||||||
overflowY: "auto",
|
overflowY: "auto",
|
||||||
|
|||||||
Reference in New Issue
Block a user