Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dropzone #6200

Merged
merged 5 commits into from
Oct 8, 2024
Merged

Add dropzone #6200

merged 5 commits into from
Oct 8, 2024

Conversation

mohamedsalem401
Copy link
Member

@mohamedsalem401 mohamedsalem401 commented Oct 8, 2024

Use the following html for testing

  <div id="gjs" style="position: relative; top: 32px; left: 32px; height: 0px; overflow: hidden">
    <style>
      /* CSS variables for width and height */
      :root {
        --inner-div-width: 32px;
        --inner-div-height: 32px;
      }

      /* Outer container */
      .outer-div {
        display: flex;
        flex-direction: column;
        border: 1px solid black;
        /* Optional border for outer div */
        width: fit-content;
      }

      /* Row styling */
      .row {
        display: flex;
        flex-direction: row;
      }

      /* Inner divs in each row */
      .inner-div {
        width: var(--inner-div-width);
        height: var(--inner-div-height);
        border: 2px solid red;
      }
    </style>
    <div class="outer-div">
      <div class="row">
        <div class="inner-div"></div>
        <div class="inner-div"></div>
        <div class="inner-div"></div>
      </div>
      <div class="row">
        <div class="inner-div"></div>
        <div class="inner-div"></div>
        <div class="inner-div"></div>
      </div>
    </div>
  </div>

Copy link
Member

@artf artf left a comment

Choose a reason for hiding this comment

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

💜

@artf artf merged commit 5bad337 into dev Oct 8, 2024
3 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.

2 participants