Skip to content

MBS-10676: Fix textarea width in image generation prompt optimization#37

Open
Barbuia wants to merge 1 commit intomainfrom
MBS-10676-Fix_imggen_prompt_textarea_width
Open

MBS-10676: Fix textarea width in image generation prompt optimization#37
Barbuia wants to merge 1 commit intomainfrom
MBS-10676-Fix_imggen_prompt_textarea_width

Conversation

@Barbuia
Copy link
Copy Markdown

@Barbuia Barbuia commented Mar 27, 2026

No description provided.

{}
}}
<div id="tiny_ai_optimize_{{uniqid}}" data-tiny_instance_uniqid={{tinyinstanceuniqid}}>
<div id="tiny_ai_optimize_{{uniqid}}" data-tiny_instance_uniqid={{tinyinstanceuniqid}} class="flex-grow-1">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That fixes the issue. However, to keep consistency, I think it's better to put flex-grow: 1; to the other flex rules we have in ai-modal.scss in the section :first-child[id^="tiny_ai_"] {

Copy link
Copy Markdown
Member

@PhMemmel PhMemmel left a comment

Choose a reason for hiding this comment

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

Stating that this is only an issue for moodle 5.1 and below, not reproducible on latest moodle main branch

@Barbuia Barbuia force-pushed the MBS-10676-Fix_imggen_prompt_textarea_width branch from 2014f4d to e5822e3 Compare April 2, 2026 17:10
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