Rationale behind absolute
position on html, body, page-wrapper, content-wrapper?
#84
Labels
v1
Version 1.x.x
Hey,
I'm evaluating to migrate my projects from bootstrap to halfmoon and so far I like it a lot! I love the usage of CSS variables, good job!
So, one issue I have been through is that for example I'm using tocbot which was working all fine with boostrap, but then with halfmoon the update of the toc was not working.
I discovered that halfmoon is setting
absolute
position to several top level elements (html
,body
,page-wrapper
,content-wrapper
) that are making it incompatible with tocbot (I don't think they can fix it in tocbot, I haven't followed the reason but it is likely thatabsolute
is messing with scroll notifications or top position in some sort)So I was able to override these positions to restore them to
static
, but the question is why halfmoon made the choice of making this containers absolute?The text was updated successfully, but these errors were encountered: