Skip to content

Commit

Permalink
Sort out UpdateExerciseNotice's alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
dem4ron committed Nov 4, 2024
1 parent 8a7b1dd commit 66dc116
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/css/components/exercise-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
}
& .update-bar {
background: var(--backgroundColorCAlert);
@apply text-left;
@apply border-2 border-lightGold rounded-8;
@apply py-10 px-24;
@apply text-textColor2 text-16 leading-160 font-semibold;
Expand All @@ -35,7 +36,7 @@
}

& .faux-link {
@apply text-prominentLinkColor ml-auto;
@apply text-prominentLinkColor ml-auto text-right md:block contents;
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/javascript/components/student/UpdateExerciseNotice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function UpdateExerciseNotice({
>
<Icon icon="warning" alt="Warning" />
This exercise has been updated. Update to the latest version and see if
your tests still pass.
your tests still pass.&nbsp;
<div className="faux-link">See what&apos;s changed…</div>
</button>
<ExerciseUpdateModal
Expand Down

0 comments on commit 66dc116

Please sign in to comment.