Closed alisman closed 2 months ago
How about defining a max-width for the confirmation message so that the message box increases in height extra text just goes to the next line?
@mhsh312 the menu as a whole needs to be flexible width. the confirmation message should always fill but never push out the menu. this should be possible with css. give it a shot! thanks!
@alisman so are you saying that when the message is too big and wants more space, the whole menu should grow out instead of just the message?
No, i want the message text to wrap and grow vertically when necessary. It should not cause the menu to expand horizontally.
On Fri, Apr 12, 2024 at 1:01 PM mhsh312 @.***> wrote:
@alisman https://github.com/alisman so are you saying that when the message is too big and wants more space, the whole menu should grow out instead of just the message?
— Reply to this email directly, view it on GitHub https://github.com/cBioPortal/cbioportal/issues/10737#issuecomment-2052136757, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABNRGMMMCBK6IQ5G3OYMXTY5AHP5AVCNFSM6AAAAABFXXP6FGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJSGEZTMNZVG4 . You are receiving this because you were mentioned.Message ID: @.***>
Ok, makes sense. I will make some css changes to the SuccessBanner
component and that should fix it.
Depending on the length of the name of the chart added, the dropdown is forced to open wider. It then suddently jumps back when message disappears. Perhaps we should simplify this by notifying user with a toast message: