:host {
  display: contents;
}

:host > tr {
  td {
    padding: 2px 4px;
    white-space: nowrap;
    vertical-align: middle;

    span {
      display: flex;
      height: 100%;
      vertical-align: middle;
      align-items: center;
      justify-content: center;
    }
  }

  td:first-of-type {
    padding-left: 8px;
  }

  td:last-of-type {
    padding-right: 8px;
  }

  cursor: context-menu;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

:host .mdi {
  font-size: 20px;
  width: 20px;
  height: 20px;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  cursor: pointer;
}

.file-name {
  text-align: left;
  overflow: hidden;
  position: relative;
  width: 100%;

  span {
    position: absolute;
    top: 0;
    white-space: nowrap;
  }
}

.file-image {
  min-width: 20px;
}
