Skip to content

Commit

Permalink
spinner size fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dbence2002 committed Sep 26, 2023
1 parent 20926f9 commit d1acfe7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/concrete/table/SubmissionTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function TestCase13({
/>
)}
{!group.failed && !group.completed && (
<SVGSpinner cls="w-7 h-7" />
<SVGSpinner cls="w-6 h-6" />
)}
</div>
{group.name}
Expand All @@ -61,7 +61,7 @@ function TestCase13({
colSpan={2}>
<div className="flex">
{testCase.verdictType === 0 && (
<SVGSpinner cls="w-5 h-5 mr-2 shrink-0" />
<SVGSpinner cls="w-4 h-4 shrink-0 mr-2" />
)}
{testCase.verdictType === 1 && (
<FontAwesomeIcon
Expand Down Expand Up @@ -140,7 +140,7 @@ function TestCase0({ testCase, index }) {
const titleComponent = (
<div className="py-3 px-5 border-b border-bordercol flex items-center text-table">
{testCase.verdictType === 0 && (
<SVGSpinner cls="mr-3 w-6 h-6 shrink-0" />
<SVGSpinner cls="w-5 h-5 shrink-0 mr-3" />
)}
{testCase.verdictType === 1 && (
<FontAwesomeIcon
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/concrete/table/SubmissionsTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Submission({ submission }) {
colSpan={maxScore === 0.0 ? 2 : 1}>
<div className="flex items-center">
{verdictType === 0 && (
<SVGSpinner cls="w-5 h-5 mr-2 shrink-0" />
<SVGSpinner cls="w-4 h-4 shrink-0 mr-2" />
)}
{verdictType === 1 && (
<FontAwesomeIcon
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/svg/SVGs.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function SVGSpinner({ cls = null }) {
return (
<svg
className={`${cls} text-grey-700 animate-spin-slow fill-indigo-600`}
viewBox="-6 -6 112 113"
viewBox="0 0 100 101"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/problem/ProblemStatement.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function ProblemLastSubmissions({ submissions, maxScore }) {
<td className="padding-td-default" style={{ maxWidth: 100 }}>
<div className="flex items-center">
{item.verdictType === 0 && (
<SVGSpinner cls="w-4 h-4 mr-3 shrink-0" />
<SVGSpinner cls="w-4 h-4 shrink-0 mr-3" />
)}
{item.verdictType === 1 && (
<FontAwesomeIcon
Expand Down

0 comments on commit d1acfe7

Please sign in to comment.