Skip to content
Snippets Groups Projects
Select Git revision
  • 10de10d1de2b02d3729415f9f398398c2ff3f62d
  • main default protected
  • cf2025
  • cf2024
  • cf2023-euro
  • cf2023-offline
6 results

utils.js

Blame
  • image_formats.py 550 B
    from wagtail.images.formats import Format, register_image_format
    
    register_image_format(
        Format(
            "tailwind_center_800",
            "šablona: Uprostřed 800px",
            "mx-auto my-6",
            "max-800x800",
        )
    )
    
    register_image_format(
        Format(
            "tailwind_left_400",
            "šablona: Vlevo 400px",
            "float-left mr-4 mb-6",
            "max-400x400",
        )
    )
    
    register_image_format(
        Format(
            "tailwind_right_400",
            "šablona: Vpravo 400px",
            "float-right ml-4 mb-6",
            "max-400x400",
        )
    )