[pitivi-web] Keep the header in the same position horizontally
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi-web] Keep the header in the same position horizontally
- Date: Thu, 1 Jul 2021 21:53:47 +0000 (UTC)
commit d4ca256c22cdca5c75c0ad8886aa7380207bdb75
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Wed Jun 30 21:38:53 2021 +0200
Keep the header in the same position horizontally
static/css/pitivi.css | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/static/css/pitivi.css b/static/css/pitivi.css
index e257991..e81a3bc 100644
--- a/static/css/pitivi.css
+++ b/static/css/pitivi.css
@@ -1,6 +1,13 @@
/* Fonts from https://fonts.google.com */
@import
url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&family=Roboto+Mono&family=Roboto:wght@300;400&family=Source+Sans+Pro&display=swap');
-
+
+html {
+ /* Unless we always show the vertical scroll bar, even when it's not needed,
+ the centered header is displayed shifted on scrollable vs non-scrollable
+ pages. */
+ overflow-y: scroll;
+}
+
body {
font-family: 'Roboto', sans-serif;
color: black;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]