Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Checklist only in-line

$
0
0

@shane wrote:

I’m trying to change a checklist to display Block style instead of in-line

selections = dcc.Checklist( id='selectionsChkLst', options=[], style={'display':'block'})

This checklist goes inside a Column, which I also tried setting the ‘display’ to ‘block’. Anyone have an idea how to fix this? I looked through the css (https://codepen.io/chriddyp/pen/bWLwgP.css) and see:

input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }

Do I need to download the CSS file and manually edit it?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles