diff --git a/articles/imagesharp/animatedgif.md b/articles/imagesharp/animatedgif.md index 965639ac..a8f9c41d 100644 --- a/articles/imagesharp/animatedgif.md +++ b/articles/imagesharp/animatedgif.md @@ -12,8 +12,7 @@ const int height = 100; const int frameDelay = 100; // For demonstration: use images with different colors. -var colors = new Color[] -{ +Color[] colors = { Color.Green, Color.Red }; diff --git a/ext/ImageSharp b/ext/ImageSharp index b7e348ff..259db7cf 160000 --- a/ext/ImageSharp +++ b/ext/ImageSharp @@ -1 +1 @@ -Subproject commit b7e348ff81187c2cb0f1958c73e0354f380337fa +Subproject commit 259db7cf8987cb47f0cad3a0f6c5bd5f4c4bfb67 diff --git a/ext/ImageSharp.Web b/ext/ImageSharp.Web index b15c4d4e..c99f07c4 160000 --- a/ext/ImageSharp.Web +++ b/ext/ImageSharp.Web @@ -1 +1 @@ -Subproject commit b15c4d4ef9877f3ec935b0942a703f38514a1cd8 +Subproject commit c99f07c4a412809b10324f339a35b3297b887162 diff --git a/templates/styles/main.css b/templates/styles/main.css index fe27a413..680d6dcc 100644 --- a/templates/styles/main.css +++ b/templates/styles/main.css @@ -485,6 +485,8 @@ header .navbar { background-color: #fff; border: none; top: 166px; + bottom: auto; + max-height: calc(100% - 166px); overflow-x: auto !important; } @@ -920,24 +922,8 @@ pre code { .bs-docs-sidebar.affix { overflow-y: auto; overflow-x: auto; - height: calc(100% - 100px); - background: linear-gradient(#fff 30%, rgba(255, 255, 255, 0)), - linear-gradient(rgba(255, 255, 255, 0), #fff 70%) 0 100%, - radial-gradient( - farthest-side at 50% 0, - rgba(0, 0, 0, 0.24), - rgba(0, 0, 0, 0) - ), - radial-gradient( - farthest-side at 50% 100%, - rgba(0, 0, 0, 0.24), - rgba(0, 0, 0, 0) - ) - 0 100%; - background-color: #fff; - background-repeat: no-repeat; - background-attachment: local, local, scroll, scroll; - background-size: 100% 10px, 100% 10px, 100% 5px, 100% 5px; + height: fit-content; + max-height: calc(100% - 100px); } .bs-docs-sidebar.affix > ul.level1 {