Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename o-table-wrapper--scrolling to o-table--scrolling #8607

Merged
merged 2 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@cfpb/browserslist-config": "0.0.3",
"@cfpb/cfpb-analytics": "0.3.2",
"@cfpb/cfpb-design-system": "3.2.0",
"@cfpb/cfpb-design-system": "3.2.3",
"@csstools/postcss-sass": "5.1.1",
"@csstools/sass-import-resolve": "1.0.0",
"autoprefixer": "10.4.20",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@
resolved "https://registry.yarnpkg.com/@cfpb/cfpb-analytics/-/cfpb-analytics-0.3.2.tgz#3d1e8da7c05cd0d312ae86a3b64e88bc3c3fc12b"
integrity sha512-0rjHPdAi4emgjMmzKSBHwwRhztxyEk3X8Zay0qRK9pATApsHqBjEJmTn5Npd1ponQQ1m5KEPo3g9kPequOQXSg==

"@cfpb/cfpb-design-system@3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@cfpb/cfpb-design-system/-/cfpb-design-system-3.2.0.tgz#5a7c55124618eaa9b9bf3937e9b7d51127775340"
integrity sha512-+3JCG48Q8IzX0GaP3bKekZxgQexUZ0e0L8M17TPsRI6E3OwcvmqW21avOLGWZ9Gg/TEf2jLrcmllw6fJGyZHQg==
"@cfpb/cfpb-design-system@3.2.3":
version "3.2.3"
resolved "https://registry.yarnpkg.com/@cfpb/cfpb-design-system/-/cfpb-design-system-3.2.3.tgz#030831ff1b8bf29fdfa9a697cec5e98f8cb42d0e"
integrity sha512-wwDn4R8ySTwugJM4a1Q0PHzCDtOogEPZFGPv0BdNbDwqluWbmlSXOlNrzkryeHTvokR02BMLyXlHHg+xIpaX9Q==

"@colors/colors@1.5.0":
version "1.5.0"
Expand Down
Loading