make it a bit more obvious if CSS is used to float sth to the right (#380)

This commit is contained in:
Hendrik L 2024-12-27 21:23:42 +01:00
parent 82175e936d
commit 4febd876a4
4 changed files with 10 additions and 11 deletions

View file

@ -988,9 +988,6 @@ time {
.post_utilities_bar div .dropdown-item:active { .post_utilities_bar div .dropdown-item:active {
line-height: 26px; line-height: 26px;
} }
.post_utilities_bar .notify_toggle {
margin-left: auto; /* pull right */
}
.post_full .post_utilities_bar .voting_buttons_new { .post_full .post_utilities_bar .voting_buttons_new {
margin-left: -15px; margin-left: -15px;
@ -1388,7 +1385,6 @@ time {
line-height: 44px; line-height: 44px;
} }
.comment .comment_actions .notify_toggle { .comment .comment_actions .notify_toggle {
margin-left: auto; /* pull right */
font-size: 87%; font-size: 87%;
} }
.comment .comment_actions .dropdown-item { .comment .comment_actions .dropdown-item {
@ -1841,6 +1837,10 @@ form h5 {
text-align: right; text-align: right;
} }
.pull-right {
margin-left: auto;
}
#timeSpent { #timeSpent {
cursor: wait; cursor: wait;
} }

View file

@ -591,10 +591,6 @@ time {
} }
} }
} }
.notify_toggle {
margin-left: auto; /* pull right */
}
} }
.post_full .post_utilities_bar { .post_full .post_utilities_bar {
@ -1052,7 +1048,6 @@ time {
} }
.notify_toggle { .notify_toggle {
margin-left: auto; /* pull right */
font-size: 87%; font-size: 87%;
} }
@ -1552,6 +1547,10 @@ form {
text-align: right; text-align: right;
} }
.pull-right {
margin-left: auto;
}
#timeSpent { #timeSpent {
cursor: wait; cursor: wait;
} }

View file

@ -175,7 +175,7 @@
<span aria-label="{{ _('Number of cross-posts:') }}">{{ len(post.cross_posts) }}</span></a> <span aria-label="{{ _('Number of cross-posts:') }}">{{ len(post.cross_posts) }}</span></a>
</div> </div>
{% endif -%} {% endif -%}
<div class="notify_toggle"> <div class="notify_toggle pull-right">
{% if current_user.is_authenticated and current_user.verified -%} {% if current_user.is_authenticated and current_user.verified -%}
{% include 'post/_post_notification_toggle.html' -%} {% include 'post/_post_notification_toggle.html' -%}
{% endif -%} {% endif -%}

View file

@ -86,7 +86,7 @@
<a href='#' class=""><span class="fe fe-collapse"></span></a> <a href='#' class=""><span class="fe fe-collapse"></span></a>
{% endif -%} {% endif -%}
</div> </div>
<div class="notify_toggle"> <div class="notify_toggle pull-right">
{% if current_user.is_authenticated and current_user.verified -%} {% if current_user.is_authenticated and current_user.verified -%}
{% with comment=dict(comment=post_reply) -%} {% with comment=dict(comment=post_reply) -%}
{% include "post/_reply_notification_toggle.html" -%} {% include "post/_reply_notification_toggle.html" -%}