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

Inyectable css responsive classes on attachments #1045

Open
juansecaro opened this issue Mar 15, 2023 · 0 comments
Open

Inyectable css responsive classes on attachments #1045

juansecaro opened this issue Mar 15, 2023 · 0 comments

Comments

@juansecaro
Copy link

juansecaro commented Mar 15, 2023

I am strugging to make attached images uploads through the clip fully responsive.

That means that if I insert 3 images, it's ok to show them in 3 colums in a normal screen, but in mobile the should be presented one by one. In bootstrap one can tipically do something like:

<div class="col-xs-1 col-md-4">
        //image
</div>

And it would autoadjust. I have tried to edit the blob partial generated, but I always get the same composition block as the trix parent element is prevalent.

I am not totally sure it is a problem or it is me doing something wrong here, but would appreciate a look at this.

Details
  • Trix version: [v0.11.1]
  • Browser name and version: All of them
  • Operating system: Ubuntu 22.04 / Rails 7
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

No branches or pull requests

1 participant