@mixin file-link--with-crop () {
  display: flex;
  min-width: 0;
  span:first-child {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  span:last-child {
    flex-shrink: 0;
  }
}