same as last commit

pull/226/head
Aevann 2024-04-05 10:08:34 +02:00
parent 3f375f46a2
commit 1224d29bcf
2 changed files with 13 additions and 1 deletions

View File

@ -207,3 +207,15 @@ h1, h2, h3, h4, h5, h6 {
.patron[style*="background-color:#ffffff"] {
color: black !important;
}
#leave-private-chat {
margin-top: -3px;
padding-top: 0.1rem;
padding-bottom: 0.15rem;
}
@media (max-width: 768px) {
#leave-private-chat {
padding-bottom: 0.05rem;
}
}

View File

@ -26,7 +26,7 @@
<button type="submit" class="btn btn-primary" style="margin-top:-5px">Save</button>
</form>
{% else %}
<button type="submit" class="btn btn-danger ml-1 ml-md-3 px-2 pb-mob-1 text-small-sm" style="margin-top:-3px;padding-top:0.1rem;padding-bottom:0.15rem" data-nonce="{{g.nonce}}" data-onclick="areyousure(this)" data-areyousure="postToastReload(this, '/chat/{{chat.id}}/leave')">Leave</button>
<button id="leave-private-chat" type="submit" class="btn btn-danger ml-1 ml-md-3 px-2 text-small-sm" data-nonce="{{g.nonce}}" data-onclick="areyousure(this)" data-areyousure="postToastReload(this, '/chat/{{chat.id}}/leave')">Leave</button>
{% endif %}
<div class="border-right d-md-none fl-r pt-2 mr-3">