aboutsummaryrefslogtreecommitdiffstats
path: root/panel/src
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-08-02 19:01:25 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-08-02 19:01:25 +0530
commita3830f35ee066f4f1d7296cd7efdb03b46f701f2 (patch)
tree7b6012876dea3da6f4cfbf28afcd317bd060fc72 /panel/src
parentd31d83870d16030c453854c7e00802398da3a308 (diff)
downloadadmin-panel-a3830f35ee066f4f1d7296cd7efdb03b46f701f2.tar.gz
admin-panel-a3830f35ee066f4f1d7296cd7efdb03b46f701f2.tar.bz2
admin-panel-a3830f35ee066f4f1d7296cd7efdb03b46f701f2.zip
updated Roles css
Diffstat (limited to 'panel/src')
-rw-r--r--panel/src/pages/Dashboard.css1
-rw-r--r--panel/src/pages/Roles.css9
-rw-r--r--panel/src/pages/Roles.jsx6
3 files changed, 13 insertions, 3 deletions
diff --git a/panel/src/pages/Dashboard.css b/panel/src/pages/Dashboard.css
index 08a15eb..024df9b 100644
--- a/panel/src/pages/Dashboard.css
+++ b/panel/src/pages/Dashboard.css
@@ -4,6 +4,7 @@
align-items: center;
background-color: #f4f7fc;
min-height: 100vh;
+ padding: 20px;
}
.dashboard-container {
diff --git a/panel/src/pages/Roles.css b/panel/src/pages/Roles.css
index 7563805..43bb952 100644
--- a/panel/src/pages/Roles.css
+++ b/panel/src/pages/Roles.css
@@ -1,5 +1,5 @@
:root {
- --primary-color: #3498db;
+ --primary-color: #4caf50;
--secondary-color: #ffffff;
--background-color: #f4f7fc;
--text-color: #333;
@@ -9,6 +9,13 @@
}
/* General container styling */
+.roles {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ background-color: #f4f7fc;
+ padding: 20px;
+}
.roles-container {
max-width: 800px;
margin: 20px auto;
diff --git a/panel/src/pages/Roles.jsx b/panel/src/pages/Roles.jsx
index a30c953..f9a5745 100644
--- a/panel/src/pages/Roles.jsx
+++ b/panel/src/pages/Roles.jsx
@@ -42,8 +42,10 @@ const Roles = () => {
}
return (
- <div>
- <Navbar />
+ <div>
+ <div className="roles">
+ <Navbar className="roles" />
+ </div>
<div className="roles-container">
<h1>Manage Roles</h1>
<div className="roles-list">