update pin img

r_light
yann300 4 months ago
parent 6f81ad5fdd
commit e389209a4c
  1. 2
      libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.css
  2. 4
      libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx

@ -28,7 +28,7 @@
width: 1rem;
height: 1rem;
position: relative;
right: 1rem;
right: 1.4rem;
top: -0.8rem;
background: transparent;
}

@ -82,8 +82,8 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => {
</div>
</div>
{ filterCon.showPin && <button
className={`${pinned ? 'fa-duotone' : 'fa-light'}` + ` fa-map-pin text-info border-0 mb-0 remixui_grid_cell_pin`}
style={{ fontSize: 'large' }}
className={`${pinned ? 'fa-duotone' : 'fa-light'}` + ` fa-circle-o text-info border-0 mb-0 remixui_grid_cell_pin`}
style={{ fontSize: '30px' }}
data-id={`${pinned ? `${props.title}-pinned` : `${props.title}-unpinned`}`}
onClick={async () => {
if (!props.pinStateCallback) setPinned(!pinned)

Loading…
Cancel
Save