Is there a css cross-browser value for "width: -moz-fit-content;"?
Mozilla's MDN suggests something like the following [source]:
p {
width: intrinsic; /* Safari/WebKit uses a non-standard name */
width: -moz-max-content; /* Firefox/Gecko */
width: -webkit-max-content; /* Chrome */
}
At last I fixed it simply using:
display: table;