Divs in Shiny R of different widths. An example
div(style="display: inline-block;vertical-align:top; width: 40%;",
sliderInput("battery_size", title_battery,
min = 0, max = (default_battery_size * 2),
value = default_battery_size, step = 5, width = "95%"))
div(style="display: inline-block;vertical-align:top; width: 20%;",
sliderInput("initial_soc", "Initial SOC (%):",
min = 0, max = 100, value = 50, step = 10, width = "95%"))
div(style="display: inline-block;vertical-align:top; width: 20%;",
sliderInput("to_battery_efficiency", "Efficiency TO battery:",
min = 0.75, max = 1, value = 0.9, step = 0.05, width = "95%"))
div(style="display: inline-block;vertical-align:top; width: 20%;",
sliderInput("from_battery_efficiency", "Efficiency FROM battery:",
min = 0.75, max = 1, value = 0.9, step = 0.05, width = "95%"))