diff --git a/css/main.css b/css/main.css index dfd1906..13843f1 100644 --- a/css/main.css +++ b/css/main.css @@ -85,6 +85,13 @@ body { margin-right: auto; } +.card-body{ + padding-top: 0.75rem; + padding-right: 1.25rem; + padding-bottom: 0.5rem; + padding-left: 1.25rem; +} + #toggle-btn{ text-align: center; } diff --git a/js/util.js b/js/util.js index e7c99cf..73273cf 100644 --- a/js/util.js +++ b/js/util.js @@ -169,13 +169,17 @@ function renderRaceInfoBox(race) { //console.log(raceInfo); var content = ""; - content = "

"+raceInfo.name+" "+raceInfo.date.getFullYear()+"

"; - content += "
"+circuit.name+" ("+circuit.location+", "+circuit.country+")
"; - content += "
"+germanDateString(raceInfo.date)+"
" - content += "
"; - content += "See Race on Wikipedia "; - content += "See Circuit on Wikipedia "; - content += "See Circuit on GoogleMaps"; + content = "
"; + content += "
"; + content += "

"+raceInfo.name+" "+raceInfo.date.getFullYear()+"

"; + content += "
"+circuit.name+" ("+circuit.location+", "+circuit.country+")
"; + content += ""+germanDateString(raceInfo.date)+""; + content += "
"; + content += "
" + content += "See Race on Wikipedia "; + content += "See Circuit on Wikipedia "; + content += "See Circuit on GoogleMaps"; + content += "
"; content += "
"; return content; }