.ellipsis {
  white-space: nowrap; 
  width: 225px; 
  overflow: hidden;
  text-overflow: ellipsis; 
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .ellipsis {
      width: 100px !important; 
    }
} 

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .ellipsis {
      width: 150px !important; 
    }
} 

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .ellipsis {
      width: 200px !important; 
    }
} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .ellipsis {
      width: 225px !important; 
    }
} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .ellipsis {
      width: 300px !important; 
    }
}