fix ref counter not working

It conficts with katex css on body{counter-reset}
This commit is contained in:
2025-01-03 16:51:42 -06:00
parent 61e90badb5
commit e8bb3f8e1c
4 changed files with 45 additions and 22 deletions

View File

@ -7,7 +7,7 @@ import FatalError exposing (FatalError)
import Head
import Head.Seo as Seo
import Html.Styled exposing (..)
import Html.Styled.Attributes exposing (style)
import Html.Styled.Attributes exposing (style, class)
import Link exposing (Link)
import Json.Decode as Decode exposing (Decoder)
import Json.Decode.Extra
@ -140,7 +140,7 @@ view app shared =
in
{ title = app.data.metadata.title
, body =
[ section []
[ article [ class "paperlike" ]
[ h1 [] [ text app.data.metadata.title ]
, h1 [ style "font-size" "1.5em" ] [ text app.data.metadata.subtitle ]
, section [] rendered