From 4bc66c74cc97c1dc9b1ff0988e47eb18cb69f388 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Sat, 30 Jan 2021 00:57:46 +0000 Subject: [PATCH] Make a bit more tiny screen friendly. --- src/App.scss | 34 +++++++++++------- src/showplanner/Player.tsx | 5 ++- src/showplanner/libraries.tsx | 67 ++++++++++++++++++----------------- src/showplanner/sidebar.tsx | 4 +-- 4 files changed, 62 insertions(+), 48 deletions(-) diff --git a/src/App.scss b/src/App.scss index 18ae0b8..3d15c3a 100644 --- a/src/App.scss +++ b/src/App.scss @@ -24,24 +24,32 @@ $number-of-channels: 3; } .hover-menu { - .hover-label { + .hover-label:not(.always-show) { + display: none; + } +} + +@media (max-height: 900px) { + .hide-low-height { display: none; } - @media (max-height: 900px) { - .hover-label { - font-size: 10px; - margin-top: -5px; - display: block; - width: 100%; + .item { + font-size: 0.92em; + } + + .hover-menu { + .btn { + padding-top: 0.1em; + padding-bottom: 0.1em; + font-size: 0.75em; } - &:hover { - height: 100%; - - .hover-label-hide { - display: none; - } + .hover-label { + font-size: 10px; + margin-top: -2px; + display: block; + width: 100%; } &:not(:hover) { diff --git a/src/showplanner/Player.tsx b/src/showplanner/Player.tsx index 7ca95b5..1706035 100644 --- a/src/showplanner/Player.tsx +++ b/src/showplanner/Player.tsx @@ -488,7 +488,10 @@ export function Player({ id, pfl }: { id: number; pfl: boolean }) { export function PflPlayer() { return ( -
+
+ + Preview Player (Headphones Only) +
); diff --git a/src/showplanner/libraries.tsx b/src/showplanner/libraries.tsx index 3aa118b..802b7f1 100644 --- a/src/showplanner/libraries.tsx +++ b/src/showplanner/libraries.tsx @@ -73,40 +73,43 @@ export function LibraryColumn() { />
-

- +

+ Libraries

- - - +
+ Hover for Import & Tools + + + +