Fix the search panel for mobile devices.

This commit is contained in:
krahets 2024-12-09 04:46:54 +08:00
parent 40261ca762
commit c22b0682cf
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ theme:
custom_dir: build/overrides
language: zh
features:
- announce.dismiss
# - announce.dismiss
- content.action.edit
# - content.action.view
- content.code.annotate

View file

@ -2,11 +2,11 @@
{% block announce %}
{% if config.theme.language == 'zh' %}
{% set announcements = '纸质书已发,详情请见<a href="/chapter_paperbook/">这里</a>' %}
{% set announcements = '纸质书已发,详情请见<a href="/chapter_paperbook/">这里</a>' %}
{% elif config.theme.language == 'zh-Hant' %}
{% set announcements = '紙質書(簡體中文版)已發行,詳情請見<a href="/chapter_paperbook/">這裡</a>' %}
{% elif config.theme.language == 'en' %}
{% set announcements = 'Welcome to contribute to Chinese-to-English translation! Please visit <a href="https://github.com/krahets/hello-algo/issues/914">#914</a> for more details.' %}
{% set announcements = 'Welcome to contribute to Chinese-to-English translation! For more details, please refer to <a href="https://github.com/krahets/hello-algo/blob/main/en/CONTRIBUTING.md">CONTRIBUTING.md</a>.' %}
{% endif %}
<div class="banner-svg">
<svg xmlns="http://www.w3.org/2000/svg"