Skip to content

Commit

Permalink
switch instead of check for gridview:Wq
Browse files Browse the repository at this point in the history
        `
  • Loading branch information
LianaHus committed Jan 8, 2025
1 parent 749bf88 commit b8b2d8a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.EECellStyle {
min-height: 6rem;
max-width: 12rem;
min-width: 10rem;
min-width: 12rem;
}
4 changes: 2 additions & 2 deletions libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
width: 1rem;
height: 1rem;
position: relative;
right: 0.9rem;
top: -0.7rem;
right: 2.1rem;
top: 4.7rem;
background: transparent;
}

Expand Down
4 changes: 2 additions & 2 deletions libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => {
tooltipText={ props.titleTooltip ? props.titleTooltip : props.title }
>
<label
className='m-0 p-0 text-uppercase align-items-left font-weight-bold text-truncate overflow-hidden whitespace-nowra'
className='m-0 p-0 text-uppercase align-items-left font-weight-bold text-truncate overflow-hidden whitespace-nowrap'
>{ props.title }
</label>
</CustomTooltip>
Expand All @@ -104,7 +104,7 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => {
</div>
</div>
{ filterCon.showPin && <button
className={`${pinned ? 'fa-circle-check text-dark' : 'fa-circle text-secondary'}` + ` fa-regular border-0 mb-0 remixui_grid_cell_pin`}
className={`${pinned ? 'fas fa-toggle-on fa-lg text-dark' : 'fas fa-toggle-off fa-lg text-secondary'}` + ` fa-regular border-0 mb-0 remixui_grid_cell_pin`}
style={{ fontSize: 'large' }}
data-id={`${pinned ? `${props.id}-pinned` : `${props.id}-unpinned`}`}
onClick={async () => {
Expand Down

0 comments on commit b8b2d8a

Please sign in to comment.