Rename max-width variable

* $fg-max-width was unnecessary and caused precedence issues
Refactor custom matcher
Test outer-container