@import (reference) 'mongodb-compass/src/app/styles/index.less';

.document {
  position: relative;
  text-overflow: ellipsis;
  max-width: 100%;
  border-radius: inherit;

  &::-webkit-scrollbar {
    display: none;
  }

  &-contents {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  &-elements {
    position: relative;
  }

  &:hover {
    .document-actions-button {
      visibility: visible;
    }
  }
}
