Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
stalgiag committed Dec 18, 2024
1 parent b64b3e0 commit c9e92eb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,8 @@
position: relative;
top: -5px;
}

.begin-review-button-container {
margin-left: auto;
flex-grow: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ const CandidateTestPlanRun = () => {
</li>
)}
{isSummaryView ? (
<li style={{ marginLeft: 'auto', flexGrow: 0 }}>
<li className="begin-review-button-container">
<Button
ref={nextButtonRef}
variant="secondary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
padding: 0;
}

/* Add these rules */
.failing-assertions-summary-table-container table {
table-layout: fixed;
width: 100%;
Expand Down
11 changes: 0 additions & 11 deletions client/components/TestRun/TestRun.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ button.test-navigator-toggle:focus {
margin-top: 1em;
font-size: 0.9em;
padding-left: 3.25em;
counter-reset: list-counter;
}

.test-name-wrapper {
Expand Down Expand Up @@ -299,16 +298,6 @@ button.test-navigator-toggle:focus {
counter-increment: none;
}

/* Reset counter after summary */
.test-name-wrapper.summary + .test-name-wrapper {
counter-reset: list-counter;
}

/* Resume counting for non-summary items */
.test-name-wrapper:not(.summary) {
counter-increment: list-counter;
}

.test-name-wrapper.summary .progress-indicator {
background: #295fa6;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ <h1 id="failing-assertions-heading">
<ul
aria-labelledby="test-toolbar-heading"
class="test-run-toolbar mt-1">
<li style="margin-left: auto; flex-grow: 0">
<li class="begin-review-button-container">
<button type="button" class="btn btn-secondary">
Begin Review
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ <h1>
Previous Test
</button>
</li>
<li style="">
<li>
<button type="button" class="btn btn-primary">
Next Test
</button>
Expand Down

0 comments on commit c9e92eb

Please sign in to comment.