From c6ec7a0276bce9750040b8c1b6fb17e9a59a7da7 Mon Sep 17 00:00:00 2001 From: Sebastian Benz Date: Fri, 21 Sep 2018 13:12:46 +0200 Subject: [PATCH] simplify datepicker markup --- src/20_Components/amp-date-picker.html | 38 +++++++------------------- 1 file changed, 10 insertions(+), 28 deletions(-) diff --git a/src/20_Components/amp-date-picker.html b/src/20_Components/amp-date-picker.html index 7f40fe2f5..3fad70220 100644 --- a/src/20_Components/amp-date-picker.html +++ b/src/20_Components/amp-date-picker.html @@ -47,14 +47,6 @@ color: #b60845; } - .align-content-center, - .align-content-center .amp-date-picker-calendar-container { - display: flex; - align-items: center; - justify-content: center; - flex-direction: row; - } - .space-between > * + * { margin-left: 1em; } @@ -244,7 +236,6 @@ -
-
-
-
-
-
-
-

Choose your travel dates

-
-
+
+

Choose your travel dates

+
-
+
- -
+
@@ -343,17 +327,15 @@ The `fullscreen` attribute tells the date picker to take up the space in its container and allow its content to scroll vertically. --> -
-

Choose your travel dates

-
-
+
+

Choose your travel dates

+
- +
- -
+