- var turnByTurnTable = $("<table class='mb-3'>");
- var directionsCloseButton = $("<button type='button' class='btn-close mt-1'>");
+ var turnByTurnTable = $("<table class='table table-sm mb-3'>")
+ .append($("<tbody>"));
+ var directionsCloseButton = $("<button type='button' class='btn-close'>")
+ .attr("aria-label", I18n.t("javascripts.close"));