commit b7848e91a2694324d5c199a3655066208045d702 parent bc3a94a4948de9f275d17bfd5afb1dd9154367b9 Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com> Date: Tue, 4 Aug 2020 12:31:22 -0700 Improve add song button. Diffstat:
| M | Songs2Slides/static/home.css | | | 8 | +++++--- |
| A | Songs2Slides/static/plus.png | | | 0 | |
| M | Songs2Slides/templates/home.html | | | 4 | +++- |
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/Songs2Slides/static/home.css b/Songs2Slides/static/home.css @@ -42,12 +42,14 @@ h3 { padding: 0px; height: 40px; width: 40px; - line-height: 40px; - font-size: 40px; background-color: var(--song-color); border: none; border-radius: 50%; - cursor: pointer +} + +#addSong img { + height: 40px; + width: 40px; } #songsButtons { diff --git a/Songs2Slides/static/plus.png b/Songs2Slides/static/plus.png Binary files differ. diff --git a/Songs2Slides/templates/home.html b/Songs2Slides/templates/home.html @@ -19,7 +19,9 @@ <div id="songs"></div> <div> - <span id="addSong" onclick="AddSong();">+</span> + <button id="addSong" onclick="AddSong();"> + <img src="{{ url_for('static', filename='plus.png')}}"/> + </button> </div> <div id="songsButtons">