view sat_templates/templates/bulma/_browser/__init__.py @ 292:829d87a70136

bulma (CSS): override default Bulma `overflow-y` to avoid permanent scrollbar
author Goffi <goffi@goffi.org>
date Mon, 28 Sep 2020 17:28:47 +0200
parents 0e69b5843c2f
children
line wrap: on
line source

from browser import bind, document


@bind("#main_menu_burger", "click")
def burger_click(ev):
    document["main_menu"].classList.toggle('is-active')
    document["main_menu_burger"].classList.toggle('is-active')