Make the PWA installation block button customizable

Created on 11 March 2021, over 3 years ago
Updated 30 September 2024, about 2 months ago

Hi, it is not possible to add class to the button of the block. I have a Bootstrap theme and the button is very ugly. Can you improve the TWIG file :

pwa-add-to-home-screen.html.twig :

{%
  set classes = [
    'alert',
    'alert-dark',
    'text-justify',
  ]
%}
<div{{ attributes.addClass(classes) }}>
    {{ intro_text }}
</div>
📌 Task
Status

Active

Version

2.0

Component

pwa_a2hs

Created by

🇫🇷France zenimagine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024