Skip to content

Commit 16fbf22

Browse files
committed
Add horizontal padding to set info icon.
This adds some spacing between the set link and the info icon to make it accessible on small touch screens to give enough space to touch the icon without hitting the link instead.
1 parent 983c1c6 commit 16fbf22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/ContentGenerator/ProblemSets/set_list_row.html.ep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class => 'fw-bold'
2121
=%>
2222
% if ($set->description =~ /\S/) {
23-
<a class="set-id-tooltip" role="button" tabindex="0" data-bs-placement="right"
23+
<a class="px-1 set-id-tooltip" role="button" tabindex="0" data-bs-placement="right"
2424
data-bs-toggle="tooltip" data-bs-title="<%= $set->description =%>"
2525
data-fallback-placements="top bottom">
2626
<i class="icon fas fa-circle-info" aria-hidden="true"></i>

0 commit comments

Comments
 (0)