@import 'src/styles/variables';

.container {
  &[data-expanded='false'] {
    display: flex;
    align-items: baseline;
  }
}

.content {
  &[data-expanded='false'] {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

.toggler {
  text-decoration: underline;
  cursor: pointer;
  color: $brand-color;

  &[data-expanded='false'] {
    flex: 0 0 auto;
    min-width: 0;
  }
}
