Skip to content

Commit

Permalink
Rename o-table-wrapper--scrolling to o-table--scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Oct 15, 2024
1 parent ebdd13e commit 780291b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions cfgov/jinja2/rural-or-underserved/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ <h2 class="js-table-title">
First-lien covered transactions extended in <span class="chosenYear">2015</span> that are secured by these properties can be counted as rural or underserved in your determination of your first-lien covered transactions in <span class="chosenYear">2015</span> that are secured by properties located in rural or underserved areas.
</p>

<div class="o-table o-table-wrapper--scrolling">
<div class="o-table o-table--scrolling">
<table class="rout-results-table">
<thead>
<tr>
Expand Down Expand Up @@ -329,7 +329,7 @@ <h2 class="js-table-title">
</h2>
<p class="col-8">These properties <strong>cannot</strong> be counted as rural or underserved.</p>

<div class="o-table o-table-wrapper--scrolling">
<div class="o-table o-table--scrolling">
<table class="rout-results-table">
<thead>
<tr>
Expand Down Expand Up @@ -365,7 +365,7 @@ <h2 class="js-table-title">
To run your search again once you have updated the information for these addresses, return to the previous page and start a new search.
</p>

<div class="o-table o-table-wrapper--scrolling">
<div class="o-table o-table--scrolling">
<table class="rout-results-table">
<thead>
<tr>
Expand Down Expand Up @@ -401,7 +401,7 @@ <h2 class="js-table-title">
To update or remove the information for these addresses, start a new search.
</p>

<div class="o-table o-table-wrapper--scrolling">
<div class="o-table o-table--scrolling">
<table class="rout-results-table">
<thead>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion cfgov/regulations3k/parser/regtable.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, label):
self.label = label
self.header_rows = []
self.body_rows = []
self.table_class = "o-table o-table-wrapper--scrolling"
self.table_class = "o-table o-table--scrolling"
self.cell_class = "o-table__cell--right-align"
self.cell_class_left = "o-table__cell--left-align"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@
// TODO: Overrides to cf-tables should be incorporated into the available
// cf-tables styles.

// Override .o-table-wrapper--scrolling table added border.
// Override .o-table--scrolling table added border.
.o-table table {
border: none;
width: 100%;
}

// Override zebra-striping of table rows.
.o-table-wrapper--scrolling table > tbody > tr:nth-child(even) > td {
.o-table--scrolling table > tbody > tr:nth-child(even) > td {
background: #fff;
}

Expand Down

0 comments on commit 780291b

Please sign in to comment.