Skip to content

Commit

Permalink
Fix: Change hint.css library class from hint--top to hint--top-left
Browse files Browse the repository at this point in the history
The hint--top class from Hint.css library was causing the page to
overflow for devices with width from screen size of 1341px and below.

To fix this I used hint--top-left instead which fixed the issue of
overflow.
  • Loading branch information
IAmYoungbossy committed Apr 24, 2023
1 parent dbef0c9 commit 7ea1a44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Submission = forwardRef(({
)
: (
<button
className="submissions-flag text-gray-300 hover:text-gray-500 dark:text-gray-400 dark:hover:text-gray-300 hint--top"
className="submissions-flag text-gray-300 hover:text-gray-500 dark:text-gray-400 dark:hover:text-gray-300 hint--top-left"
aria-label="Report submission"
type="button"
data-test-id="flag-btn"
Expand Down

0 comments on commit 7ea1a44

Please sign in to comment.