Mark Febrizio commited on
Commit
5a39d37
1 Parent(s): ce73840

tweaks to header and notes

Browse files
Files changed (2) hide show
  1. app.py +6 -7
  2. www/style.css +4 -4
app.py CHANGED
@@ -5,7 +5,6 @@ import asyncio
5
  from datetime import datetime, date, time
6
  from pathlib import Path
7
 
8
- #from faicons import icon_svg
9
  from pandas import DataFrame
10
  from numpy import array
11
 
@@ -41,11 +40,11 @@ ui.include_css( Path(__file__).parent.joinpath("www") / "style.css")
41
  TITLE = "CRA Window Exploratory Dashboard - GW Regulatory Studies Center"
42
 
43
  # page header above main content
44
- HEADER = "Congressional Review Act (CRA) Window Exploratory Dashboard"
45
  page_header = ui.HTML(
46
  f"""
47
  <div class="header">
48
- <span>{HEADER}</span>
49
  </div>
50
  """
51
  )
@@ -259,15 +258,15 @@ with ui.accordion(open=False):
259
  with ui.accordion_panel("Notes"):
260
 
261
  ui.markdown(
262
- f"""
263
- Rule data are retrieved daily from the [Federal Register API](https://www.federalregister.gov/developers/documentation/api/v1), which publishes new editions of the Federal Register each business day.
264
-
265
  The [Congressional Review Act](http://uscode.house.gov/view.xhtml?req=granuleid%3AUSC-prelim-title5-chapter8&saved=%7CKHRpdGxlOjUgc2VjdGlvbjo4MDEgZWRpdGlvbjpwcmVsaW0pIE9SIChncmFudWxlaWQ6VVNDLXByZWxpbS10aXRsZTUtc2VjdGlvbjgwMSk%3D%7CdHJlZXNvcnQ%3D%7C%7C0%7Cfalse%7Cprelim&edition=prelim) (CRA) “lookback window” refers to the period starting [60 working days](https://crsreports.congress.gov/product/pdf/R/R46690#page=8) (either session days in the Senate or legislative days in the House of Representatives) before the current session of Congress adjourns and ending the day the subsequent session of Congress first convenes.
266
  Rules that are published in the Federal Register and submitted to Congress during that time period are made available for review in the subsequent session of Congress.
267
 
268
  Due to the retrospective calculation of the window, lookback window dates prior to Congress adjourning are inherently estimates.
269
  Based on the published Congressional calendar for the second session of the 118th Congress, the current lookback window date [estimate](https://www.huntonak.com/the-nickel-report/federal-agencies-face-looming-congressional-review-act-deadline) is **May 22, 2024**.
270
- This dashboard allows users to explore how different lookback window dates would affect the set of rules available for congressional review.
 
 
271
  """
272
  )
273
 
 
5
  from datetime import datetime, date, time
6
  from pathlib import Path
7
 
 
8
  from pandas import DataFrame
9
  from numpy import array
10
 
 
40
  TITLE = "CRA Window Exploratory Dashboard - GW Regulatory Studies Center"
41
 
42
  # page header above main content
43
+ HEADER = "Congressional Review Act Window Exploratory Dashboard"
44
  page_header = ui.HTML(
45
  f"""
46
  <div class="header">
47
+ <h1>{HEADER}</h1>
48
  </div>
49
  """
50
  )
 
258
  with ui.accordion_panel("Notes"):
259
 
260
  ui.markdown(
261
+ f"""
 
 
262
  The [Congressional Review Act](http://uscode.house.gov/view.xhtml?req=granuleid%3AUSC-prelim-title5-chapter8&saved=%7CKHRpdGxlOjUgc2VjdGlvbjo4MDEgZWRpdGlvbjpwcmVsaW0pIE9SIChncmFudWxlaWQ6VVNDLXByZWxpbS10aXRsZTUtc2VjdGlvbjgwMSk%3D%7CdHJlZXNvcnQ%3D%7C%7C0%7Cfalse%7Cprelim&edition=prelim) (CRA) “lookback window” refers to the period starting [60 working days](https://crsreports.congress.gov/product/pdf/R/R46690#page=8) (either session days in the Senate or legislative days in the House of Representatives) before the current session of Congress adjourns and ending the day the subsequent session of Congress first convenes.
263
  Rules that are published in the Federal Register and submitted to Congress during that time period are made available for review in the subsequent session of Congress.
264
 
265
  Due to the retrospective calculation of the window, lookback window dates prior to Congress adjourning are inherently estimates.
266
  Based on the published Congressional calendar for the second session of the 118th Congress, the current lookback window date [estimate](https://www.huntonak.com/the-nickel-report/federal-agencies-face-looming-congressional-review-act-deadline) is **May 22, 2024**.
267
+ This dashboard allows users to explore how different lookback window dates would affect the set of rules available for congressional review.
268
+
269
+ Rule data are retrieved daily from the [Federal Register API](https://www.federalregister.gov/developers/documentation/api/v1), which publishes new editions of the Federal Register each business day.
270
  """
271
  )
272
 
www/style.css CHANGED
@@ -5,14 +5,14 @@
5
  vertical-align: middle;
6
  }
7
 
8
- .header span {
9
  position: right;
10
- line-height: 66px;
11
  padding-left: 2.5%;
12
  padding-top: 0%;
13
  padding-right: 0%;
14
- padding-bottom: 7.5%;
15
- font-size: 30px;
16
  vertical-align: middle;
17
  }
18
 
 
5
  vertical-align: middle;
6
  }
7
 
8
+ .header h1 {
9
  position: right;
10
+ /*line-height: 66px;*/
11
  padding-left: 2.5%;
12
  padding-top: 0%;
13
  padding-right: 0%;
14
+ padding-bottom: 2.5%;
15
+ /*font-size: 30px;*/
16
  vertical-align: middle;
17
  }
18