Skip to content

Commit

Permalink
ui: max container/main width, make separate .mp3 link
Browse files Browse the repository at this point in the history
  • Loading branch information
azimut committed Apr 3, 2024
1 parent 81f6d84 commit 5fe53b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
}
}

main {
max-width: 1080px;
margin: 0 auto;
}

.selected {
background-color: var(--light);
color: var(--darkness);
Expand Down Expand Up @@ -109,6 +114,8 @@
}
div.episode-date {
font-size: 1.2em;
display: flex;
justify-content: space-between;
}
div.episode-content {
font-family: monospace, sans-serif;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ viewEntry feedId now { title, date, url, id, isShowingDetails, content } =
[ div [ class "episode-title" ]
[ text title ]
, div [ class "episode-date" ]
[ a [ href url ]
[ time [] [ text <| inWords (millisToPosix date) now ] ]
[ time [] [ text <| inWords (millisToPosix date) now ]
, a [ href url ] [ text ".mp3" ]
]
, div [ class "episode-content" ]
[ if isShowingDetails then
Expand Down

0 comments on commit 5fe53b4

Please sign in to comment.