// $see https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/
@mixin word-break($hyphens: 'auto') {
  @if $hyphens == 'none' {
    overflow-wrap: normal;
    word-wrap: normal;

    -ms-word-break: normal;
    word-break: normal;

    -ms-hyphens: manual;
    -moz-hyphens: manual;
    -webkit-hyphens: manual;
    hyphens: manual;
  } @else {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: unquote($hyphens);
    -moz-hyphens: unquote($hyphens);
    -webkit-hyphens: unquote($hyphens);
    hyphens: unquote($hyphens);
  }
}
