I have not used Mezzanine in a while and maybe missing something --
but may a better solution not be to used the StackedInline class to
display the inline forms rather than the TabularInline as it currently
seems to be doing from looking at the screenshot? That way the fields
would stack on top of eachother instead of horizontally next to
eachother like in the screenshot, and thus should give more horizontal
space to the rich text editor. In the current tabular rendering, one
can probably use CSS to get a little more space, but it seems like it
would always be an awkward fit in a tabular structure?

Sorry if I missed something on why this is not possible / not a good
idea / but just wanted to add that since naively it seems like a
StackedInline might be a cleaner solution than mucking around too much
with the CSS in a tabular layout.

All the best!
-Sanjay


On Tue, Nov 27, 2018 at 10:31 AM Stephen McDonald <[email protected]> wrote:
>
> If you override the admin template for that admin class 
> (https://docs.djangoproject.com/en/1.11/ref/contrib/admin/#admin-overriding-templates)
>  you can apply some custom CSS which should allow you to do what you want.
>
> While I personally think using RichTextField inside inlines like that is an 
> extremely clunky user experience, we could probably provide the CSS by 
> default in Mezzanine (without having to override admin templates) to make 
> this behave better in a general way - so if you can contribute the fix back 
> to the project by way of a pull request, that would be great.
>
>
>
> On Tue, Nov 27, 2018 at 4:37 AM Tyger Marshall <[email protected]> 
> wrote:
>>
>> I'm looking for a way to change the size of the RichTextField in the admin 
>> interface. I have a model with the field Description that is a 
>> RichTextField. The field isn't very user-friendly via the admin, see the 
>> attached image. How would I go about resizing to have more working area?
>> Thanks!
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Stephen McDonald
> http://jupo.org
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to