diff --git a/static/skin/index.css b/static/skin/index.css index b9c1cb4bc..5a1822341 100644 --- a/static/skin/index.css +++ b/static/skin/index.css @@ -24,6 +24,9 @@ body { background-color: #f4f6f8; width: 100%; padding: 20px; + position: sticky; + top: 0; + z-index: 3; } .kiwixHomeBody__results { diff --git a/test/server.cpp b/test/server.cpp index 0b3b9e414..485b60c31 100644 --- a/test/server.cpp +++ b/test/server.cpp @@ -61,7 +61,7 @@ const ResourceCollection resources200Compressible{ { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/i18n.js" }, { STATIC_CONTENT, "/ROOT%23%3F/skin/i18n.js?cacheid=2cf0f8c5" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/index.css" }, - { STATIC_CONTENT, "/ROOT%23%3F/skin/index.css?cacheid=f0ee124c" }, + { STATIC_CONTENT, "/ROOT%23%3F/skin/index.css?cacheid=260b184e" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/index.js" }, { STATIC_CONTENT, "/ROOT%23%3F/skin/index.js?cacheid=042058df" }, { DYNAMIC_CONTENT, "/ROOT%23%3F/skin/iso6391To3.js" }, @@ -270,7 +270,7 @@ TEST_F(ServerTest, CacheIdsOfStaticResources) const std::vector testData{ { /* url */ "/ROOT%23%3F/", -R"EXPECTEDRESULT( href="/ROOT%23%3F/skin/index.css?cacheid=f0ee124c" +R"EXPECTEDRESULT( href="/ROOT%23%3F/skin/index.css?cacheid=260b184e"