From c64a589ab7882097a3977ac3b58906139d93e343 Mon Sep 17 00:00:00 2001 From: Adrian Gaudebert Date: Fri, 28 Jul 2017 19:21:57 +0200 Subject: [PATCH] Little tweaks. --- .gitignore | 2 +- css/style.css | 9 ++++++++- index.html | 6 +++--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index f8bc5ab..f3c648d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -source.json +ghettoblastr.json audio/* diff --git a/css/style.css b/css/style.css index b46b71a..46de137 100644 --- a/css/style.css +++ b/css/style.css @@ -76,6 +76,9 @@ button:active { border-bottom: 0; } +.sounds { + text-align: center; +} .sounds ul { list-style-type: none; } @@ -84,7 +87,11 @@ button:active { height: 43px; line-height: 43px; margin: 1em; + position: relative; + width: 320px; +} +.sounds ul li button { overflow: hidden; text-overflow: ellipsis; - position: relative; + width: 100%; } diff --git a/index.html b/index.html index 6ad53e2..51f2e1b 100644 --- a/index.html +++ b/index.html @@ -4,11 +4,11 @@ Ghetto Blastr - + - + @@ -52,7 +52,7 @@ function pegasus(a,b,c){return c=new XMLHttpRequest,c.open("GET",a),a=[],pegasus.timeout&&(c.timeout=pegasus.timeout),c.ontimeout=function(a){b=a},c.onreadystatechange=c.then=function(d,e,f,g){if(d&&d.call&&(a=[,d,e]),b&&a[2]&&a[2](b,c),4==c.readyState&&(f=a[0|c.status/200])){try{g=JSON.parse(c.responseText)}catch(a){g=null}f(g,c)}},c.send(),c}