cancel
Showing results for 
Search instead for 
Did you mean: 

Adjust button width in Web Client

GabiBuchner
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

in my web client implementation, I use buttons and lists in the bot answer. In the standalone Web Client URL, the lists are displayed correctly but the width of the buttons is way too large and this looks awkward because the button labels are short. Is there any way to restrict the width of buttons? Or to adapt them to the label length?

Thanks a lot, Gabi

Accepted Solutions (0)

Answers (1)

Answers (1)

jyguyomarch
Advisor
Advisor

Hi Gabi,

There are no standard way to do this. But you might be able to achieve the look and feel you want for your buttons using custom CSS. See here on how to inject your stylesheet in the Web Client: https://help.sap.com/docs/SAP_CONVERSATIONAL_AI/a4522a393d2b4643812b7caadfe90c18/3412c7a53c15437e834...

Drop me a mail if you need more help.

BR - Jean-Yves