mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Make scenes page list view checkbox fill entire cell (#2974)
This commit is contained in:
@@ -55,6 +55,7 @@ export const SceneListTable: React.FC<ISceneListTableProps> = (
|
|||||||
return (
|
return (
|
||||||
<tr key={scene.id}>
|
<tr key={scene.id}>
|
||||||
<td>
|
<td>
|
||||||
|
<label>
|
||||||
<Form.Control
|
<Form.Control
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked={props.selectedIds.has(scene.id)}
|
checked={props.selectedIds.has(scene.id)}
|
||||||
@@ -73,6 +74,7 @@ export const SceneListTable: React.FC<ISceneListTableProps> = (
|
|||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
</label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<Link to={sceneLink}>
|
<Link to={sceneLink}>
|
||||||
@@ -114,7 +116,7 @@ export const SceneListTable: React.FC<ISceneListTableProps> = (
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="row table-list justify-content-center">
|
<div className="row scene-table table-list justify-content-center">
|
||||||
<Table striped bordered>
|
<Table striped bordered>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -638,3 +638,23 @@ input[type="range"].blue-slider {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.scene-table {
|
||||||
|
table,
|
||||||
|
tr,
|
||||||
|
td,
|
||||||
|
label,
|
||||||
|
input {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user