mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-14 13:33:00 +00:00
Small css and layout improvements for better consistency
This commit is contained in:
@@ -462,9 +462,11 @@ const ServerDashboard = (props) => {
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr className="noborder">
|
<tr className="noborder">
|
||||||
<td>
|
<td>
|
||||||
<Button variant="light" className="add-users-button">
|
<Link to="/add-users">
|
||||||
<Link to="/add-users">Add Users</Link>
|
<Button variant="light" className="add-users-button">
|
||||||
</Button>
|
Add Users
|
||||||
|
</Button>
|
||||||
|
</Link>
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
@@ -559,6 +561,7 @@ const ServerDashboard = (props) => {
|
|||||||
Shutdown Hub
|
Shutdown Hub
|
||||||
</Button>
|
</Button>
|
||||||
</td>
|
</td>
|
||||||
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
{servers.flatMap(([user, server]) => serverRow(user, server))}
|
{servers.flatMap(([user, server]) => serverRow(user, server))}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.server-dashboard-container .add-users-button {
|
.server-dashboard-container .btn-light {
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -38,3 +38,11 @@ tr.noborder > td {
|
|||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table > tbody > tr.user-row > td {
|
||||||
|
vertical-align: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.user-row .actions > * {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user