Merge branch 'more-fixes' into shigusegubu-themes3
This commit is contained in:
commit
5aec32381d
6 changed files with 26 additions and 6 deletions
|
|
@ -148,9 +148,15 @@ code {
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
border: 1px solid var(--fg);
|
border: 1px solid var(--fg);
|
||||||
border-radius: var(--roundness);
|
border-radius: var(--roundness);
|
||||||
margin: 0.2em;
|
|
||||||
padding: 0 0.2em;
|
padding: 0 0.2em;
|
||||||
|
|
||||||
|
& pre,
|
||||||
|
pre & {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.2em;
|
||||||
|
}
|
||||||
|
|
||||||
&.pre {
|
&.pre {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,8 @@
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.basic-user-card {
|
.basic-user-card {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 1 0;
|
flex: 1 1 10em;
|
||||||
|
min-width: 1em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -152,9 +152,6 @@ const MobileNav = {
|
||||||
},
|
},
|
||||||
onScroll({ target: { scrollTop, clientHeight, scrollHeight } }) {
|
onScroll({ target: { scrollTop, clientHeight, scrollHeight } }) {
|
||||||
this.notificationsAtTop = scrollTop > 0
|
this.notificationsAtTop = scrollTop > 0
|
||||||
if (scrollTop + clientHeight >= scrollHeight) {
|
|
||||||
this.$refs.notifications.fetchOlderNotifications()
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
||||||
|
|
@ -94,6 +94,7 @@
|
||||||
/>
|
/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Notifications teleport target -->
|
||||||
<div
|
<div
|
||||||
id="mobile-notifications"
|
id="mobile-notifications"
|
||||||
ref="mobileNotifications"
|
ref="mobileNotifications"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,19 @@
|
||||||
.AdminUserCard {
|
.AdminUserCard {
|
||||||
|
details {
|
||||||
|
white-space: normal;
|
||||||
|
|
||||||
|
summary {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
display: block;
|
||||||
|
max-height: 6.5em;
|
||||||
|
overflow-y: auto;
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.right-side {
|
.right-side {
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
|
|
|
||||||
|
|
@ -883,7 +883,7 @@ const statuses = {
|
||||||
'addNewUsers',
|
'addNewUsers',
|
||||||
data.statuses.map((s) => s.user).filter((u) => u),
|
data.statuses.map((s) => s.user).filter((u) => u),
|
||||||
)
|
)
|
||||||
data.statuses = store.commit('addNewStatuses', {
|
data.statuses = store.dispatch('addNewStatuses', {
|
||||||
statuses: data.statuses,
|
statuses: data.statuses,
|
||||||
})
|
})
|
||||||
return data
|
return data
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue