Как сделать что-бы показывалось описание предмета при ховере,а не скрывалось за скроллом?

введите сюда описание изображения

.item {
  width: 105px;
  height: 105px;
  cursor: pointer;
  position: relative;
  
  
  &:hover>.item__stats {
    display: block;
  }

  &__img {
    width: 105px;
    height: 105px;
    filter: drop-shadow(4px 4px 3px rgba(100,0,0,0.5));
  }

  &__stats {
    position: absolute;
    bottom: -90px;
    width: 100px;
    min-height: 100px;
    background-color: #fff;
    transition: opacity cubic-bezier(1,-1.09,1,.01);
    transition: 1s;
    display: none;
    z-index: 1200;
    width: 185px;
    box-shadow: 0 0 9px rgba(225, 226, 156, 0.26);
    border: 1px solid #fffc00;
    background-color: #142827;
    padding: 3px;

  }

  &__count {
    position: absolute;
    bottom: 0;
    font-size: 0.8rem;
  }
}

  &__backpack {
    overflow-y: scroll;
    overflow-x: visible !important;
    width: 700px;
    max-height: 600px;
    position: relative;
  }


Ответы (0 шт):