Skip to content

Commit beecd5b

Browse files
author
renaud gaudin
committed
Fixed #211: kiwix-serve magnifying icon too small
StackExchange's CSS is setting some property on all elements : margins on <inputs /> and font-size on body that ends-up conflicting with the inserted Kiwix toolbar in kiwix-serve. IMO, this is a Kiwix-serve bug and scrapers should not care about how the reader might affect its content. Related issue: kiwix/libkiwix#394 As a short-term measure, some kiwix-related styles have been overwritten in the scraper.
1 parent 114440f commit beecd5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sotoki/templates/base.html

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
background-repeat: no-repeat;
3030
padding-right: 13px;
3131
}
32+
.kiwix_searchform input.ui-autocomplete-input { margin-top: 0; margin-bottom: 0; }
33+
.kiwix_searchform { font-size: 14px; }
3234
</style>
3335
<script type="text/javascript" src="static/js/jdenticon.min.js" async></script>
3436
<script type="text/javascript" src="static/js/webp-hero.polyfill.js"></script>

0 commit comments

Comments
 (0)