.image-ref {
  display: flex;
  align-items: center;

  &__uri {
    display: block;
    flex-shrink: 0;
  }

  &__tag {
    display: block;
    margin-left: 7px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  &__copy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: rgb(var(--text-muted));
    font-size: inherit;
    line-height: inherit;

    padding: 0;
    border: 0;
    margin: 0;
    margin-left: 0.25rem;

    appearance: none;
    cursor: pointer;
  }

  & + & {
    margin-top: scale.$sm--4;
  }
}
