JSFiddle - React, Tailwind, and code Playground

by ScottRippey

HTML

<div class="cateogry-topbar-container">
 <div class="category-topbar">
  <div class="category-title-container">
      
   <h1 class="category-title ellipsis singleLine">CBS Evening News/CBS Evening News Full Episodes</h1>
  </div>
  <div class="network-link-container">
   <a class="network-link" href="/tv/network/cbs-news">
    <img class="network-image" src="http://lorempixel.com/400/100" />
   </a>
  </div>
 </div>
</div>

CSS

* {
    font-family: arial;
}

.category-topbar {
    border: 1px solid red;

    display: table;

    position: relative;
    
    height: 40px;
}
.category-title-container {
    display: table-cell;
    
    width: 50%;
    
    position: relative;
}
.category-title {
    position: absolute;
	font-size: 40px;
    width: 100%;

    border: 1px solid green;

    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.network-link-container {
    border: 1px solid blue;
}
.network-link {
    height: 100%;
}
.network-image {
    max-height: 40px;
}