Skip to content

Commit

Permalink
v4.0: Made UI mobile responsive (even more!)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sas2k committed Dec 31, 2022
1 parent d180c79 commit 0cd774a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,16 @@ a {
font-size: 1.5rem;
font-weight: 600;
text-align: left;
}

@media screen and (max-width: 768px) {
.block:not(:last-child) {
margin-bottom: 1rem;
}

.text-bar {
margin-bottom: 0.5rem;
display: flex;
justify-content: space-between;
}
}
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h1 class="title">{{ Title }}</h1>
<div class="columns">
<div class="column">
<progress id="progress" class="progress is-primary" value="0" max="100">0%</progress>
<div class="columns">
<div class="columns text-bar">
<div class="column">
<p id="current">0:00</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/song.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h1 class="title">{{ Title }}</h1>
<div class="columns">
<div class="column">
<progress id="progress" class="progress is-primary" value="0" max="100">0%</progress>
<div class="columns">
<div class="columns text-bar">
<div class="column">
<p id="current">0:00</p>
</div>
Expand Down

1 comment on commit 0cd774a

@vercel
Copy link

@vercel vercel bot commented on 0cd774a Dec 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

songtrack – ./

songtrack-git-main-sas2k.vercel.app
songtrack.vercel.app
songtrack-sas2k.vercel.app

Please sign in to comment.