Skip to content

Commit cf083c0

Browse files
committed
fix check box positioning
1 parent fd834b7 commit cf083c0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

bases/rsptx/assignment_server_api/assignment_builder/src/components/routes/AssignmentBuilder/AssignmentBuilder.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
.typeCell {
7575
display: flex;
7676
flex-direction: row;
77-
align-items: flex-end;
77+
align-items: flex-start;
7878
gap: 0.5rem;
7979
}
8080

@@ -83,7 +83,7 @@
8383
flex-direction: column;
8484
align-items: center;
8585
gap: 0.2rem;
86-
padding-bottom: 0.25rem;
86+
padding-top: 0.25rem;
8787
cursor: pointer;
8888
user-select: none;
8989
}

bases/rsptx/assignment_server_api/assignment_builder/src/components/routes/AssignmentBuilder/components/list/AssignmentList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ export const AssignmentList = ({
105105
</span>
106106
{rowData.kind === "Peer" && (
107107
<label className={styles.asyncPeerGroup}>
108+
<span className={styles.asyncPeerText}>Async Peer</span>
108109
<Checkbox
109110
checked={rowData.peer_async_visible}
110111
onChange={(e) => onPeerAsyncChange(rowData, !!e.checked)}
111112
tooltip={rowData.peer_async_visible ? "Disable async peer" : "Enable async peer"}
112113
tooltipOptions={{ position: "top" }}
113114
/>
114-
<span className={styles.asyncPeerText}>Async Peer</span>
115115
</label>
116116
)}
117117
</div>

0 commit comments

Comments
 (0)