Expand link to whole table cell

This commit is contained in:
2023-12-05 19:10:36 +01:00
parent 3127c72288
commit bad64c5dbf
4 changed files with 22 additions and 14 deletions

View File

@@ -88,6 +88,11 @@ module ApplicationHelper
image_element_to(:link, name, image, options, html_options)
end
# Workaround to fill <td> with link completely, see CSS for details.
def table_link_to(...)
link_to(...) * 2
end
private