Skip to content

Commit

Permalink
ui: use h1 for title
Browse files Browse the repository at this point in the history
  • Loading branch information
azimut committed Oct 2, 2024
1 parent b28a868 commit a0c72f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
justify-content: center;
}
/* ----------------- */
h1 {
font-weight: normal;
font-size: 1em;
}
header {
display: flex;
margin: auto;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ port module Main exposing (..)

import Browser
import Filesize
import Html exposing (Html, a, article, button, details, div, footer, form, header, img, input, main_, span, summary, text, time)
import Html exposing (Html, a, article, button, details, div, footer, form, h1, header, img, input, main_, span, summary, text, time)
import Html.Attributes exposing (attribute, autocomplete, autofocus, class, disabled, href, id, maxlength, minlength, name, placeholder, size, src, style, type_, value)
import Html.Events exposing (onClick, onInput, onSubmit, stopPropagationOn)
import Json.Decode as JD
Expand Down Expand Up @@ -525,7 +525,7 @@ viewHeader { search, state } =
state == Starting
in
header []
[ div []
[ h1 []
[ text "news"
, span [ class "pod" ] [ text "pod" ]
]
Expand Down

0 comments on commit a0c72f3

Please sign in to comment.