UX: stop presence indicator hop, space consistency (#12797)

This commit is contained in:
Kris 2021-04-22 16:11:47 -04:00 committed by GitHub
parent 6c5d6dd356
commit 984d87f30c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 21 additions and 9 deletions

View File

@ -293,7 +293,7 @@
</div> </div>
{{/if}} {{/if}}
{{slow-mode-info topic=model user=currentUser}} {{slow-mode-info topic=model user=currentUser tagName=""}}
{{topic-timer-info {{topic-timer-info
topicClosed=model.closed topicClosed=model.closed

View File

@ -1137,7 +1137,8 @@ a.mention-group {
} }
#topic-footer-buttons { #topic-footer-buttons {
padding: 1.5em 0 0.75em 0; margin: var(--below-topic-margin) 0;
padding: 0;
.topic-footer-main-buttons { .topic-footer-main-buttons {
display: flex; display: flex;

View File

@ -16,10 +16,15 @@
} }
} }
[class*="archetype-"] {
--below-topic-margin: 0.75em;
}
.container.posts { .container.posts {
display: grid; display: grid;
grid-template-areas: "posts timeline"; grid-template-areas: "posts timeline";
grid-template-columns: auto auto; grid-template-columns: auto auto;
margin-bottom: var(--below-topic-margin);
> .row { > .row {
grid-area: posts; grid-area: posts;
max-width: calc( max-width: calc(

View File

@ -455,8 +455,8 @@ pre.copy-codeblocks:hover .copy-cmd {
} }
.suggested-topics { .suggested-topics {
clear: left; margin: 4.5em 0 1em;
padding: 20px 0 15px 0;
table { table {
margin-top: 10px; margin-top: 10px;
} }

View File

@ -59,9 +59,10 @@
} }
} }
.topic-status-info,
.topic-timer-info { .topic-timer-info {
border-top: 1px solid var(--primary-low); border-top: 1px solid var(--primary-low);
padding: 10px 0; margin: 0;
&:empty { &:empty {
padding: 0; padding: 0;
} }
@ -70,14 +71,14 @@
.slow-mode-heading { .slow-mode-heading {
display: flex; display: flex;
align-items: center; align-items: center;
margin: 0px; margin: 0;
padding: var(--below-topic-margin) 0;
} }
.slow-mode-remove,
.topic-timer-modify { .topic-timer-modify {
margin-left: auto; margin-left: auto;
} }
.topic-timer-remove, button {
.slow-mode-remove,
.topic-timer-edit {
font-size: $font-down-2; font-size: $font-down-2;
background: transparent; background: transparent;
} }

View File

@ -1,3 +1,8 @@
.topic-above-footer-buttons-outlet.presence {
min-height: 1.8em; // height of the avatars, prevents layout shift
margin: var(--below-topic-margin) 0;
}
.presence-users { .presence-users {
background-color: var(--secondary, $secondary); background-color: var(--secondary, $secondary);
color: var(--primary-medium, $primary-medium); color: var(--primary-medium, $primary-medium);