From 6938c03658b69a214d9df95c0c4a3c9d4f6e236f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 20 May 2013 16:16:34 +0400 Subject: [PATCH] always include basic layout CSS file to prevent unworkable UI in case of a broken/incompatible theme --- css/layout.css | 7 +++++++ css/tt-rss.css | 9 --------- index.php | 1 + prefs.php | 1 + 4 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 css/layout.css diff --git a/css/layout.css b/css/layout.css new file mode 100644 index 000000000..3351331c0 --- /dev/null +++ b/css/layout.css @@ -0,0 +1,7 @@ +html, body#ttrssMain, body#ttrssPrefs, #main { + width: 100%; + height: 100%; + border: 0; + padding: 0; + margin: 0; +} diff --git a/css/tt-rss.css b/css/tt-rss.css index 72bdc1d24..ad80ae9f8 100644 --- a/css/tt-rss.css +++ b/css/tt-rss.css @@ -7,15 +7,6 @@ body#ttrssMain, body#ttrssPrefs, body#ttrssLogin, body { font-size: 14px; } -html, body#ttrssMain, body#ttrssPrefs, #main { - width: 100%; - height: 100%; - border: 0; - padding: 0; - margin: 0; -} - - body#ttrssPrefs { background-color : #ecf4ff; } diff --git a/index.php b/index.php index c3fe770f5..8dae2831f 100644 --- a/index.php +++ b/index.php @@ -57,6 +57,7 @@ Tiny Tiny RSS + Tiny Tiny RSS : +