Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Created :before pseudoclass for '.input-wrapper .date-arrows' to create a larger click target for iPad

Jason Hurley66bc2352b0bc
diff --git a/web/css/timeline.css b/web/css/timeline.css
index 3a8592c7d..2ebcfdbc1 100644
--- a/web/css/timeline.css
+++ b/web/css/timeline.css
@@ -101,6 +101,18 @@ button:focus {
& .input-wrapper:hover .date-arrows {
visibility: visible;
}
+
+ & .input-wrapper .date-arrows::before {
+ content: "";
+ position: absolute;
+ top:-15px;
+ height: 30px;
+ width: 100%;
+ max-width: inherit;
+ // border: 1px solid red;
+
+ }
+
& .input-wrapper:hover .date-arrows svg path {
fill: #888;
}
@@ -127,7 +139,9 @@ button:focus {
& .date-arrows {
display: block;
height: 10px;
+ max-width: inherit;
}
+
& .date-arrows svg {
vertical-align: top;
display: block;