Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fsktom committed Sep 24, 2024
1 parent 158c582 commit 16eda73
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 62 deletions.
52 changes: 26 additions & 26 deletions endsong_ui/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion endsong_ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
chrono = "0.4"
endsong = { path = ".." }
rustyline = { version = "14.*", features = ["derive"] }
plotly = "0.9"
plotly = "0.10"
itertools = "0.13"
textwrap = "0.16"
thiserror = "1.0"
Expand Down
5 changes: 4 additions & 1 deletion endsong_ui/templates/artist.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ <h2 class="self-center text-xl font-bold">General info</h2>
<article
class="flex w-96 flex-col gap-3 rounded-lg border border-gray-200 p-6 shadow"
>
<h2 class="self-center text-xl font-bold">Top {{ top }} songs</h2>
<div class="flex flex-col items-center self-center">
<h2 class="text-xl font-bold">Top {{ top }} songs</h2>
<i class="text-sm">summed across albums</i>
</div>
<ol class="list-decimal">
{% for song in songs -%}
<li class="ml-6">{{ song.0 }} | {{ song.1 }} plays</li>
Expand Down
47 changes: 13 additions & 34 deletions endsong_ui/templates/tailwind_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -554,14 +554,6 @@ video {
display: none;
}

.-mb-8 {
margin-bottom: -2rem;
}

.ml-4 {
margin-left: 1rem;
}

.ml-6 {
margin-left: 1.5rem;
}
Expand All @@ -570,31 +562,14 @@ video {
display: flex;
}

.h-fit {
height: -moz-fit-content;
height: fit-content;
}

.w-40 {
width: 10rem;
}

.w-96 {
width: 24rem;
}

.w-80 {
width: 20rem;
}

.list-decimal {
list-style-type: decimal;
}

.list-disc {
list-style-type: disc;
}

.list-none {
list-style-type: none;
}
Expand All @@ -607,6 +582,10 @@ video {
align-items: center;
}

.justify-center {
justify-content: center;
}

.justify-evenly {
justify-content: space-evenly;
}
Expand All @@ -615,6 +594,10 @@ video {
gap: 4rem;
}

.gap-3 {
gap: 0.75rem;
}

.gap-4 {
gap: 1rem;
}
Expand All @@ -623,10 +606,6 @@ video {
gap: 2rem;
}

.gap-3 {
gap: 0.75rem;
}

.self-center {
align-self: center;
}
Expand Down Expand Up @@ -671,16 +650,16 @@ video {
line-height: 1.75rem;
}

.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
}

.text-xs {
font-size: 0.75rem;
line-height: 1rem;
}

.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
}

.font-bold {
font-weight: 700;
}
Expand Down

0 comments on commit 16eda73

Please sign in to comment.