Skip to content

Commit

Permalink
Patch outdated scss workaround for min (#5871)
Browse files Browse the repository at this point in the history
* Patch the call to the css min function to workaround the outdated scss compiler

Signed-off-by: Aaron Stephanus <[email protected]>

* Adds an implementation note about the workaround for the min function call in the outdated SCSS dependency

Signed-off-by: Aaron Stephanus <[email protected]>

---------

Signed-off-by: Aaron Stephanus <[email protected]>
  • Loading branch information
astephanus authored Dec 13, 2023
1 parent f614ed2 commit f2d434d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _sass/_navigation-header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ $max-container: 1440px;
text-decoration: none;
text-indent: 100%;
position: relative;
left: min(80px, calc(100% - $header-banner-min-width));
// NOTE: The min() function name is deliberatedly misspelled with an upercase M to workaround an outdated SCSS compiler
// dependency used by the Just the Docs theme 0.3.3.
left: Min(80px, calc(100% - $header-banner-min-width));
box-sizing: content-box;
@media screen and (max-width: 1339px) {
left: 0;
Expand Down

0 comments on commit f2d434d

Please sign in to comment.