7
I’m developing an app on R’s Shiny, and I’m having trouble editing the tag out of a box.
When I turn the remote:
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>
Exists the parameter style
in box()
, but it changes only the class "box-body"
and I wanted to change the class "col-sm-4"
without having to input HTML into my code?
For example, if I spin:
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>
I think you need to give a ' . ' in class, just this
– Murilo Melo