diff --git a/templates/Angular2Spa/ClientApp/components/app/app.css b/templates/Angular2Spa/ClientApp/components/app/app.css index cea1842..6392600 100644 --- a/templates/Angular2Spa/ClientApp/components/app/app.css +++ b/templates/Angular2Spa/ClientApp/components/app/app.css @@ -1,21 +1,6 @@ -/* Wrapping element */ -/* Set some basic padding to keep content from hitting the edges */ -.body-content { - padding-top: 50px; - padding-bottom: 20px; - padding-left: 15px; - padding-right: 15px; -} - -/* Set widths on the form inputs since otherwise they're 100% wide */ -input, -select, -textarea { - max-width: 280px; -} - -/* Carousel */ -.carousel-caption p { - font-size: 20px; - line-height: 1.4; +@media (max-width: 767px) { + /* On small screens, the nav menu spans the full width of the screen. Leave a space for it. */ + .body-content { + padding-top: 50px; + } } diff --git a/templates/Angular2Spa/ClientApp/components/app/app.html b/templates/Angular2Spa/ClientApp/components/app/app.html index 018305b..22fbbd9 100644 --- a/templates/Angular2Spa/ClientApp/components/app/app.html +++ b/templates/Angular2Spa/ClientApp/components/app/app.html @@ -1,28 +1,10 @@ -