JSFiddle - React, Tailwind, and code Playground

HTML

<div class="button-container">
  <div class="left-button"><a>ButtonWithAReallyLongName</a></div>
  <div class="right-button"><a>AnotherButtonWithAReallyLongName</a></div>
</div>

CSS

.button-container {
  min-width:320px;
}
.button-container > div {
  border: 1px solid gray;
  background-color: orange;
  min-width: 160px;
  padding: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.left-button {
  float: left;
}
.right-button {
  float: right;
}