I'm developing an app in Shiny of R, and I'm having trouble editing the tag outside of a box.
When I run the command:
box(
title = 'Teste',
width = 4
)
The corresponding HTML it creates is:
<div class="col-sm-4">
<div class="box">
<div class="box-header">
<h3 class="box-title">Teste</h3>
</div>
<div class="box-body"></div>
</div>
</div>
There is the style
parameter in box()
, however it only changes the "box-body"
class and I wanted to change the "col-sm-4"
class without having to input the HTML in my code,
For example, if I run:
box(
title = 'Teste',
width = 4,
style = 'padding-left: 0px;'
)
It generates:
<div class="col-sm-4">
<div class="box">
<div class="box-header">
<h3 class="box-title">Teste</h3>
</div>
<div class="box-body" style="padding-left: 0px;"></div>
</div>
</div>
But I want to:
<div class="col-sm-4" style="padding-left: 0px">
<div class="box">
<div class="box-header">
<h3 class="box-title">Teste</h3>
</div>
<div class="box-body"></div>
</div>
</div>