Skip to content

Commit

Permalink
fix: use pixels and remove large on ERC20
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Jun 11, 2024
1 parent 614e678 commit 3c45c07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export async function renderTransaction(): Promise<Success> {

if (isErc20Permit(app.reward)) {
const treasury = await fetchTreasury(app.reward);
table.setAttribute(`data-additional-data-size`, "small");

// insert tx data into table
const requestedAmountElement = insertErc20PermitTableData(app, table, treasury);
Expand Down
2 changes: 1 addition & 1 deletion static/styles/rewards/claim-table.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ table[data-make-claim-rendered] button.hide > svg#claim-icon {
display: unset;
}
table[data-details-visible="true"][data-additional-data-size="large"] #mainTableBody {
transform: translate(-50%, 15%);
transform: translate(-50%, 20px);
}
table #controls {
opacity: 0;
Expand Down

0 comments on commit 3c45c07

Please sign in to comment.