Adjusted typography, styles, and other visual elements to ensure consistent layouts
This commit is contained in:
@@ -76,6 +76,7 @@ function createOpportunitiesTable({
|
||||
const isSorted = opportunitiesTableState.opportunitiesTableState.sortKey === column.key;
|
||||
header.scope = "col";
|
||||
header.setAttribute("data-column", column.key);
|
||||
if (column.key === "revenue") header.setAttribute("data-align", "money");
|
||||
|
||||
if (column.sortable === false) {
|
||||
const label = document.createElement("span");
|
||||
@@ -117,6 +118,7 @@ function createOpportunitiesTable({
|
||||
OPPORTUNITIES_COLUMNS.forEach(column => {
|
||||
const cell = document.createElement("td");
|
||||
cell.setAttribute("data-column", column.key);
|
||||
if (column.key === "revenue") cell.setAttribute("data-align", "money");
|
||||
const bar = document.createElement("span");
|
||||
bar.className = "opportunities-extension-account-plans-skeleton-bar opportunities-extension-table-skeleton-text";
|
||||
cell.append(bar);
|
||||
@@ -149,6 +151,7 @@ function createOpportunitiesTable({
|
||||
OPPORTUNITIES_COLUMNS.forEach((column) => {
|
||||
const cell = document.createElement("td");
|
||||
cell.setAttribute("data-column", column.key);
|
||||
if (column.key === "revenue") cell.setAttribute("data-align", "money");
|
||||
|
||||
if (column.key === "stage") {
|
||||
cell.append(createStageBadge(column.display(item)));
|
||||
|
||||
Reference in New Issue
Block a user