From 8dbefaf0c61b72a9e4d91bb41cacbc92108bc7d9 Mon Sep 17 00:00:00 2001 From: annaszalkiewicz Date: Thu, 12 Jul 2018 01:15:50 +0200 Subject: [PATCH] Edit restaurant details and add aria-labels for screen readers --- css/styles.css | 5 ++++- index.html | 2 +- js/main.js | 1 + js/restaurant_info.js | 4 +++- restaurant.html | 12 +++++++++++- 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/css/styles.css b/css/styles.css index 1c2aa92..b0f66bd 100644 --- a/css/styles.css +++ b/css/styles.css @@ -226,6 +226,9 @@ details, footer, header, nav, section { padding-top: 1em; font-weight: bold; } +.restaurant-hours-heading, .restaurant-address { + padding: 1em; +} #restaurant-hours { padding: 1em 0; min-width: 300px; @@ -398,7 +401,7 @@ details, footer, header, nav, section { padding: 1em 1em 1em 3em; } #restaurant-hours { - padding: 0 1em 1em 3em; + padding: 1em 1em 1em 3em; } #reviews-list > li > p:nth-child(3) { right: 2.5em; diff --git a/index.html b/index.html index ab7643c..ef79eac 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@