How to unset max-height using CSS

To actually “unset” an inline style, you should use pre.doNotLimitHeightproperty.

Just a note that this doesn’t work for min-height (none is not allowed and results in the value not being overriden).

Below is an example:

pre {
  max-height: 250px;
}

pre.doNotLimitHeight {
  max-height: none;
}