marcus-grant / markipedia

My personal wikipedia made from zettelkasten notetaking system
GNU Affero General Public License v3.0
1 stars 0 forks source link

Find way to fix width of wide tags like table and pre #39

Open marcus-grant opened 1 year ago

marcus-grant commented 1 year ago

table and pre tags generate some wide content that needs to overflow. Right now the main layout just places the w-full & overflow-x-auto tags to the whole page. This causes some alignment and scrolling awkwardness. It's better if the tags that cause the problems got them instead. Right now I only see table & pre tags causing the problem so those classes should probably get added by 11ty as the markdown is parsed. Find out if that's possible and fix it, or find another solution.