The discussion revolves around modifying the DirectoryTable component in a custom Discourse theme. mfrakesSIC asks how to change the table layout to use divs instead of a traditional table structure. awesomerobot explains that the team is transitioning to a CSS grid-based layout using divs, which will soon be the default. Until then, users can override the template by modifying directory-table.hbs in their theme, as detailed in the theme development guide. mfrakesSIC reports that changes aren’t reflecting, possibly due to caching or missing rebuild steps. The conversation also touches on the structure of the component, with awesomerobot clarifying that tr tags are no longer used, as the layout is now handled by the DirectoryItem component, which can be found in directory-item.hbs.
Good timing! This week I’ve started updating the directory to move away from a <table> to a more flexible div layout that recreates the table layout using CSS grid. So if you can wait a week or two this should be the new default.
This previously mentioned work has been merged into Discourse, and we no longer use table for user tables and now use a combination of div and CSS grid