<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
div {
  border: 1px solid;
  font: 10px Ahem;
  text-indent: 5em;
}
.min {
  width: min-content;
}
.max {
  width: max-content;
}
</style>
<div class="min">
  12<br>456<br>89012
</div>
<div class="max">
  12&nbsp;456&nbsp;89012
</div>
