haukex / de-en-dict

German-English Dictionary
https://dict.zero-g.net/
GNU General Public License v2.0
10 stars 1 forks source link

[internal] Use <tbody>s to group rows #16

Closed haukex closed 1 month ago

haukex commented 1 month ago

Currently, multiple CSS classes are applied to the <tr>s to style them into groups. HTML allows for multiple <tbody>s per <table>, so I should use that to group the rows instead, simplifying the code. I can also then put the data-feedback-href attribute on the <tbody> instead of repeating it for each row. This would allow the user to select multiple rows in the same entry and still get a "Feedback" link in the "Search Tools" popup.