Skip to content

Commit

Permalink
Merge pull request #217 from fedspendingtransparency/ftr/11279-top5table
Browse files Browse the repository at this point in the history
11279 - Fixed the stacked table arrow and added top 5 table styling to dtui
  • Loading branch information
jagu65 authored Aug 20, 2024
2 parents 55f9c6d + 1659890 commit d571ab5
Show file tree
Hide file tree
Showing 55 changed files with 126 additions and 42 deletions.
8 changes: 5 additions & 3 deletions components/table/TableData.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const propTypes = {
atMaxLevel: PropTypes.bool,
stickyFirstColumn: PropTypes.bool,
subAward: PropTypes.bool,
isScrolledLeft: PropTypes.bool
isScrolledLeft: PropTypes.bool,
isStacked: PropTypes.bool
};

const TableData = ({
Expand All @@ -36,7 +37,8 @@ const TableData = ({
atMaxLevel,
stickyFirstColumn = false,
subAward,
isScrolledLeft
isScrolledLeft,
isStacked
}) => {
const [firstClick, setFirstClick] = useState(false);
const [rowIndexForMessage, setRowIndexForMessage] = useState();
Expand Down Expand Up @@ -123,7 +125,7 @@ const TableData = ({
</div>
)}
<div>
{data.type === 'a' && j === 0
{data.type === 'a' && j === 0 && isStacked && isMobile
? (
<a
target={data.props.target}
Expand Down
2 changes: 1 addition & 1 deletion dist/data-transparency-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/229.4b90415ecd5b101f001b.manager.bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/229.6d69ce64.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/229.df6775d714abc2d29de0.manager.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/229.f9abf24b.iframe.bundle.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/485.a6ba170a.iframe.bundle.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/485.e7f45bd1.iframe.bundle.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/51.12879e96425c0b128042.manager.bundle.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/51.33304ca29cb8e99bdbad.manager.bundle.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/51.62905199.iframe.bundle.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/51.88af68fd.iframe.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/551.1ddce1e1.iframe.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d571ab5

Please sign in to comment.