Skip to content

Commit

Permalink
Rename css class
Browse files Browse the repository at this point in the history
  • Loading branch information
CaitBarnard committed Nov 28, 2024
1 parent 78548ba commit 4a41fbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function PayrollTable({
}) {
return (
<>
<div class="scrollable-div">
<div class="scrollable">
<table className="govuk-table">
<thead className="govuk-table__head">
<tr className="govuk-table__row">
Expand Down
2 changes: 1 addition & 1 deletion front_end/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,6 @@ th {
font-size: 16px;
}

.scrollable-div {
.scrollable {
overflow-x: scroll;
}
2 changes: 1 addition & 1 deletion payroll/templates/payroll/page/edit_payroll.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1 class="govuk-heading-l">Edit payroll</h1>
<div id="payroll-app"></div>

<h2 class="govuk-heading-m">Payroll forecast</h2>
<div class="scrollable-div">
<div class="scrollable">
<table class="govuk-table">
<thead class="govuk-table__head">
<tr class="govuk-table__row">
Expand Down

0 comments on commit 4a41fbd

Please sign in to comment.