Compare commits

..

No commits in common. "5aec32381d538d51a6536ac4ccc503193d8259ac" and "42df2630cf85a190988fa77c2fc352965abe3ab3" have entirely different histories.

6 changed files with 6 additions and 26 deletions

View file

@ -148,15 +148,9 @@ code {
background: var(--bg);
border: 1px solid var(--fg);
border-radius: var(--roundness);
margin: 0.2em;
padding: 0 0.2em;
& pre,
pre & {
display: block;
overflow-x: auto;
padding: 0.2em;
}
&.pre {
white-space: pre;
display: block;

View file

@ -54,8 +54,7 @@
<style lang="scss">
.basic-user-card {
display: flex;
flex: 1 1 10em;
min-width: 1em;
flex: 1 0;
margin: 0;
line-height: 1.25;

View file

@ -152,6 +152,9 @@ const MobileNav = {
},
onScroll({ target: { scrollTop, clientHeight, scrollHeight } }) {
this.notificationsAtTop = scrollTop > 0
if (scrollTop + clientHeight >= scrollHeight) {
this.$refs.notifications.fetchOlderNotifications()
}
},
},
watch: {

View file

@ -94,7 +94,6 @@
/>
</button>
</div>
<!-- Notifications teleport target -->
<div
id="mobile-notifications"
ref="mobileNotifications"

View file

@ -1,19 +1,4 @@
.AdminUserCard {
details {
white-space: normal;
summary {
font-weight: bold;
}
span {
display: block;
max-height: 6.5em;
overflow-y: auto;
resize: vertical;
}
}
.right-side {
align-items: baseline;
justify-content: end;

View file

@ -883,7 +883,7 @@ const statuses = {
'addNewUsers',
data.statuses.map((s) => s.user).filter((u) => u),
)
data.statuses = store.dispatch('addNewStatuses', {
data.statuses = store.commit('addNewStatuses', {
statuses: data.statuses,
})
return data