Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/ai/src/themes/PromptInput.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:host(:not([hidden])) {
display: inline-block;
}

.ai-prompt-input-button {
margin-left: .5rem;
margin-top: 3px;
Expand All @@ -6,7 +10,7 @@
.ai-prompt-input-wrapper {
display: flex;
flex-direction: column;
width: 270px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Setting the min-width instead of width is not enough to be able to control the width of the Prompt Input. Yes, now it expands to 100% of the container, but I am not able to control its width. I compared the ai prompt input with the normal ui5-input, where the users are able to set the width of the component directly. I think we should be able to somehow control the width of the prompt input the same way

min-width: 270px;
}

.ai-prompt-input-form-wrapper {
Expand Down
1 change: 0 additions & 1 deletion packages/ai/test/pages/PromptInput.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

<style>
ui5-ai-prompt-input {
display: inline-block;
margin-top: 1rem;
}

Expand Down
Loading