This commit is contained in:
SBD
2024-01-19 18:04:48 +03:00
parent 896ed3df6c
commit b3f2b20fff
2 changed files with 18 additions and 1 deletions

View File

@@ -28,8 +28,22 @@
{% endif %};
width: 100%;
}
.{{ name_w }}_{{ widget.id }}_align_btn.desctop{
display: block;
}
.{{ name_w }}_{{ widget.id }}_align_btn.mobile{
display: none;
}
@media (max-width: 800px) {
.{{ name_w }}_{{ widget.id }}_align_btn.desctop{
display: none;
}
.{{ name_w }}_{{ widget.id }}_align_btn.mobile{
display: block;
}
}
</style>
<div class="{{ name_w }}_{{ widget.id }}_align_btn">
<div class="{{ name_w }}_{{ widget.id }}_align_btn{% if mobile %} {{ mobile }}{% else %} desctop{% endif %}">
<a class="{{ name_w }}_{{ widget.id }}_widget_btn_a" href="{{ widget.url }}" target="_blank">
{{ widget.but_title }}
</a>