Skip to content

Commit

Permalink
chore: remove unused CSS class
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding-SE committed May 7, 2024
1 parent 7fafbcc commit 2ef562d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export default class Example05 {
titleFormatter: (_row, _cell, value, _def, dataContext) => {
let titleResult = '';
if (dataContext.treeLevel > 0) {
titleResult = `<span class="mdi mdi-subdirectory-arrow-right mdi-v-align-sub text-color-se-secondary"></span>`;
titleResult = `<span class="mdi mdi-subdirectory-arrow-right text-color-se-secondary"></span>`;
}
titleResult += `<span class="bold">${value}</span>`;
if (dataContext.parentId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const priceFormatter: Formatter = (_cell, _row, value, _col, dataContext) => {
};

const transactionTypeFormatter: Formatter = (_row, _cell, value: string) =>
`<span class="mdi mdi-16px mdi-v-align-sub mdi-${value === 'Buy' ? 'plus' : 'minus'}-circle ${value === 'Buy' ? 'text-color-info' : 'text-color-warning'}"></span> ${value}`;
`<span class="mdi mdi-16px mdi-${value === 'Buy' ? 'plus' : 'minus'}-circle ${value === 'Buy' ? 'text-color-info' : 'text-color-warning'}"></span> ${value}`;

const historicSparklineFormatter: Formatter = (_row, _cell, _value: string, _col, dataContext) => {
const svgElem = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
Expand Down

0 comments on commit 2ef562d

Please sign in to comment.