From 964c2b5305241f6f1cc987afbe96fb2b135daa4d Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Sun, 23 Jun 2019 21:27:40 +0530 Subject: [PATCH] Add disclaimer text on the bottom --- src/Components/IsNiftyOpenApp/App.css | 13 +++++++++++++ src/Components/IsNiftyOpenApp/App.tsx | 5 +++++ 2 files changed, 18 insertions(+) diff --git a/src/Components/IsNiftyOpenApp/App.css b/src/Components/IsNiftyOpenApp/App.css index c390a27..ef5e619 100644 --- a/src/Components/IsNiftyOpenApp/App.css +++ b/src/Components/IsNiftyOpenApp/App.css @@ -106,4 +106,17 @@ left: 50%; width: 100%; transform: translate(-50%, 0); +} + +.disclaimer { + position: absolute; + bottom: 0; + left: 0; + right: 0; + margin: 0 1em; + padding: 0.5em; + font-size: .6em; + background-color: rgba(255,255,255,0.75); + border-radius: .5em; + text-align: center; } \ No newline at end of file diff --git a/src/Components/IsNiftyOpenApp/App.tsx b/src/Components/IsNiftyOpenApp/App.tsx index 4edba3a..86d6c17 100644 --- a/src/Components/IsNiftyOpenApp/App.tsx +++ b/src/Components/IsNiftyOpenApp/App.tsx @@ -115,6 +115,11 @@ class IsNiftyOpenApp extends React.Component { /> +
+ {`This data is taken from Karanataka ETV Flipkart holidays list, + but doesn't include optional holidays. + There is no gurantee that this data is correct or will be kept updated.`} +
); }