diff --git a/webviews/activityBarView/index.css b/webviews/activityBarView/index.css index 7bea2ede9d..94330d9f20 100644 --- a/webviews/activityBarView/index.css +++ b/webviews/activityBarView/index.css @@ -242,10 +242,12 @@ button .icon svg { align-items: center; } -.attestation-checkbox-overlay { - position: absolute; - right: calc(50% + 130px + 8px); - margin-right: 0; +.attestation-checkbox-row { + margin-top: 6px; + margin-right: auto; + margin-left: auto; + margin-bottom: 12px; + width: fit-content; } .dropdown-container { diff --git a/webviews/components/comment.tsx b/webviews/components/comment.tsx index 8482a70427..0c2d6583c3 100644 --- a/webviews/components/comment.tsx +++ b/webviews/components/comment.tsx @@ -790,20 +790,20 @@ export const AddCommentSimple = (pr: PullRequest) => { {cloudUploadIcon} + {showAttestationCheckbox ? ( +
+ setAddAttestation(e.currentTarget.checked)} + /> + +
+ ) : null}
- {showAttestationCheckbox ? ( -
- setAddAttestation(e.currentTarget.checked)} - /> - -
- ) : null} makeCommentMenuContext(pr.owner, pr.repo, pr.number, availableActions, pr.pendingCommentText, shouldDisableNonApproveButtons)} defaultAction={defaultSubmitAction}