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

Cannot use responsive design of modal #20

Closed
J4gQBqqR opened this issue Apr 15, 2023 · 1 comment
Closed

Cannot use responsive design of modal #20

J4gQBqqR opened this issue Apr 15, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@J4gQBqqR
Copy link

This does not work: https://daisyui.com/components/modal/#responsive-modal-goes-bottom-on-mobile-screen-and-goes-middle-on-desktop

<!-- The button to open modal -->
<label for="my-modal-6" class="btn">open modal</label>

<!-- Put this part before </body> tag -->
<input type="checkbox" id="my-modal-6" class="modal-toggle" />
<div class="modal modal-bottom sm:modal-middle">
  <div class="modal-box">
    <h3 class="font-bold text-lg">Congratulations random Internet user!</h3>
    <p class="py-4">You've been selected for a chance to get one year of subscription to use Wikipedia for free!</p>
    <div class="modal-action">
      <label for="my-modal-6" class="btn">Yay!</label>
    </div>
  </div>
</div>

This is different from issue #19, as there is no @apply used in here. But we still do not have any responsive design working. Not sure how Unocss is limiting the responsive design in this case.

@kidonng
Copy link
Owner

kidonng commented Apr 15, 2023

Duplicate of #14

@kidonng kidonng marked this as a duplicate of #14 Apr 15, 2023
@kidonng kidonng closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2023
@kidonng kidonng added the duplicate This issue or pull request already exists label Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants