Skip to content

revert: css of drive#1827

Merged
prafull-opensignlabs merged 1 commit intostagingfrom
updates-16068582405
Jul 4, 2025
Merged

revert: css of drive#1827
prafull-opensignlabs merged 1 commit intostagingfrom
updates-16068582405

Conversation

@nxglabs
Copy link
Collaborator

@nxglabs nxglabs commented Jul 4, 2025

revert: css of drive

Copilot AI review requested due to automatic review settings July 4, 2025 07:43
@vercel
Copy link

vercel bot commented Jul 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
open-sign ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 4, 2025 7:44am

@prafull-opensignlabs prafull-opensignlabs changed the title Merge pull request #940 from nxglabs/staging revert: css of drive Jul 4, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts recent CSS changes in the DriveBody component, restoring fixed container heights and replacing a grid layout with a flex-wrap layout for list items.

  • Restores fixed square dimensions (h-[100px]) and margin utilities for folder/PDF tiles.
  • Replaces the CSS grid in the PDF list view with a flex row wrap approach.
  • Adjusts overall spacing to use explicit margins instead of the previous grid gap.
Comments suppressed due to low confidence (3)

apps/OpenSign/src/components/opensigndrive/DriveBody.jsx:408

  • [nitpick] This Tailwind class string is repeated in multiple places; consider extracting these utilities into a single reusable class or component to reduce duplication and simplify future updates.
      <div className="relative w-[100px] h-[100px] mx-2 my-3">

apps/OpenSign/src/components/opensigndrive/DriveBody.jsx:483

  • [nitpick] Duplicate styling here matches the folder tile above; extracting this into a shared component or CSS module could improve consistency and reduce errors.
              <div className="relative w-[100px] h-[100px] mx-2 my-3">

apps/OpenSign/src/components/opensigndrive/DriveBody.jsx:641

  • [nitpick] Using manual margins here may lead to inconsistent gaps between items; consider leveraging Tailwind’s gap utilities (e.g., gap-x-3, gap-y-3) for clearer intent and responsive behavior.
        <div className="flex flex-row flex-wrap items-center mt-1 pb-[20px] mx-[5px]">

@prafull-opensignlabs prafull-opensignlabs merged commit 1e80754 into staging Jul 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants