Skip to content

Commit

Permalink
Changed caption from table to inline-blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
b0wter committed Jun 16, 2024
1 parent d90f0ce commit c6602d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions dist/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ body {
right: 0;
z-index: 10;
background: rgba(0, 0, 0, 0.75);
display: flex;
justify-content: center;
align-items: center;
}
Expand All @@ -298,7 +297,7 @@ body {
}

.artist-list-item {
display: table;
display: inline-block;
}

.artist-list-item img {
Expand All @@ -309,12 +308,14 @@ body {
}

.artist-list-caption {
box-sizing: border-box;
min-width: 100%;
width: 0;
text-align: center;
font-weight: 1000;
text-transform: uppercase;
font-size: 12px;
color: white;
display: table-caption;caption-side:bottom;
}

.artist-list-selected-element {
Expand Down
2 changes: 1 addition & 1 deletion src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ artistOverlay isOverlayOpen artist =
overlayGrid : List ArtistInfo -> Html Msg
overlayGrid artists =
div
[ class "artist-list m-20" ]
[ class "artist-list" ]
(artists
|> List.map
(\a ->
Expand Down

0 comments on commit c6602d7

Please sign in to comment.