rstudio / sortable

R htmlwidget for Sortable.js
https://rstudio.github.io/sortable/
Other
127 stars 30 forks source link

Elements of a rank list spill outside their border #68

Closed andrie closed 3 years ago

andrie commented 3 years ago

image

This is most likely a problem with CSS specified incorrectly

andrie commented 3 years ago

The problem is in the .scss file for rank-list-item, where the width is set to 100%:

  .rank-list-item {
    border-radius: $border-radius;
    // position: relative;
    display: block;
    padding: 10px 15px;
    background-color: $item-background-color;
    border: 1px solid $border-color;
    overflow: hidden;
    width: 100%;
    ...