Skip to content

Commit

Permalink
fix: responsive related widget margin
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Nov 23, 2022
1 parent cf8ad76 commit 6c7943b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% if not is_hidden %}
{% if can_add_related or can_change_related or can_delete_related or can_view_related%}
{% if can_change_related %}
<a class="related-widget-wrapper-link change-related block border cursor-pointer flex items-center h-9.5 justify-center rounded shadow-sm shrink-0 text-gray-300 text-sm transition-all w-9.5 lg:ml-2 hover:text-primary-600 dark:border-gray-700 dark:text-gray-500"
<a class="related-widget-wrapper-link change-related block border cursor-pointer flex items-center h-9.5 justify-center ml-2 rounded shadow-sm shrink-0 text-gray-300 text-sm transition-colors w-9.5 hover:text-primary-600 dark:border-gray-700 dark:text-gray-500"
id="change_id_{{ name }}"
data-popup="yes"
data-href-template="{{ change_related_template_url }}?{{ url_params }}"
Expand All @@ -19,7 +19,7 @@
{% endif %}

{% if can_add_related %}
<a class="related-widget-wrapper-link add-related block border cursor-pointer flex items-center h-9.5 justify-center rounded shadow-sm shrink-0 text-gray-300 transition-all w-9.5 lg:ml-2 text-sm hover:text-primary-600 dark:border-gray-700 dark:text-gray-500"
<a class="related-widget-wrapper-link add-related block border cursor-pointer flex items-center h-9.5 justify-center ml-2 rounded shadow-sm shrink-0 text-gray-300 text-sm transition-colors w-9.5 hover:text-primary-600 dark:border-gray-700 dark:text-gray-500"
data-popup="yes"
id="add_id_{{ name }}"
href="{{ add_related_url }}?{{ url_params }}"
Expand All @@ -29,7 +29,7 @@
{% endif %}

{% if can_view_related %}
<a class="related-widget-wrapper-link view-related block border cursor-pointer flex items-center h-9.5 justify-center rounded shadow-sm shrink-0 text-gray-300 transition-all w-9.5 lg:ml-2 text-sm hover:text-primary-600 dark:border-gray-700 dark:text-gray-500"
<a class="related-widget-wrapper-link view-related block border cursor-pointer flex items-center h-9.5 justify-center ml-2 rounded shadow-sm shrink-0 text-gray-300 text-sm transition-colors w-9.5 hover:text-primary-600 dark:border-gray-700 dark:text-gray-500"
id="view_id_{{ name }}"
data-href-template="{{ change_related_template_url }}?{{ view_related_url_params }}"
title="{% blocktranslate %}View selected {{ model }}{% endblocktranslate %}">
Expand All @@ -38,7 +38,7 @@
{% endif %}

{% if can_delete_related %}
<a class="related-widget-wrapper-link delete-related block border cursor-pointer flex items-center h-9.5 justify-center rounded shadow-sm shrink-0 text-gray-300 transition-all w-9.5 lg:ml-2 text-sm hover:text-primary-600 dark:border-gray-700 dark:text-gray-500"
<a class="related-widget-wrapper-link delete-related block border cursor-pointer flex items-center h-9.5 justify-center ml-2 rounded shadow-sm shrink-0 text-gray-300 text-sm transition-colors w-9.5 hover:text-primary-600 dark:border-gray-700 dark:text-gray-500"
id="delete_id_{{ name }}"
data-href-template="{{ delete_related_template_url }}?{{ url_params }}"
data-popup="yes"
Expand Down

0 comments on commit 6c7943b

Please sign in to comment.