summaryrefslogtreecommitdiff
path: root/themes/hugo-whisper-theme/assets/scss/bootstrap/mixins/_text-truncate.scss
blob: 3504bb1aa5d7aa2c3d75aedd4a03916afaa7e4d9 (plain)
1
2
3
4
5
6
7
8
// Text truncate
// Requires inline-block or block for proper styling

@mixin text-truncate() {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}