Reputation: 25
I am new to stack overflow and asking my first question, not sure I am able to give proper context or not but due to some privacy concerns can't share a reproducible code for this but if you have any clue what causing this or how can be fixed in R shiny, please help me out. So this is how my app looks when it starts covering the full width of the window and is working fineapp starting window
I have added a modal that displays an editable table for the end-user and that table is used for further calculation. So the issue is whenever I close the modal by clicking on Close
button then the width of the app shrinks every time I click it.After few Iterations on closing the modal
This is CSS tag I am using for that modal, I hope this is not creating an issue
tags$head(tags$style("#var_lever .modal-dialog {width: fit-content !important;}"))
Uploading the image as well. Can someone tell why this could be happening or how to fix that? Thanks in advance
Upvotes: 0
Views: 229
Reputation: 371
I know it's a bit dirty but adding this piece of css fixes it for me:
body {
padding-right:0 !important;
}
Upvotes: 1