From 4302625858af033f94a650e0f4e122df9f709021 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Fri, 14 Aug 2020 17:41:55 -0400 Subject: [PATCH] Updated styling of recent videos component, the search/sort options now look good on mobile --- .../recent-videos.component.html | 46 ++++++++++--------- .../recent-videos.component.scss | 10 +++- 2 files changed, 33 insertions(+), 23 deletions(-) diff --git a/src/app/components/recent-videos/recent-videos.component.html b/src/app/components/recent-videos/recent-videos.component.html index 6339a33..f2a7c0c 100644 --- a/src/app/components/recent-videos/recent-videos.component.html +++ b/src/app/components/recent-videos/recent-videos.component.html @@ -1,26 +1,30 @@ -
-
-
- - - - {{filterOption['value']['label']}} - - +
+
+
+
+
+ + + + {{filterOption['value']['label']}} + + + +
+
+ +
+
+
+
+

My videos

+
+
+ + + search
-
- -
-
-
-

My videos

-
-
- - - search -
diff --git a/src/app/components/recent-videos/recent-videos.component.scss b/src/app/components/recent-videos/recent-videos.component.scss index 154b248..f695e16 100644 --- a/src/app/components/recent-videos/recent-videos.component.scss +++ b/src/app/components/recent-videos/recent-videos.component.scss @@ -9,7 +9,7 @@ } .search-bar-unfocused { - width: 100px; + width: 132px; } .search-input { @@ -28,7 +28,13 @@ padding-right: 12px; } -.col { +.column { width: 33%; display: inline-block; +} + +.sort-dir-div { + display: inline-block; + position: absolute; + top: 10px; } \ No newline at end of file