Merge pull request #3287 from ClearlyClaire/glitch-soc/backports/4.5

Backport changes to stable-4.5
This commit is contained in:
Claire
2025-11-19 22:14:32 +01:00
committed by GitHub
7 changed files with 22 additions and 24 deletions

View File

@@ -105,6 +105,7 @@ const hotkeyMatcherMap = {
reply: just('r'),
favourite: just('f'),
boost: just('b'),
bookmark: just('d'),
quote: just('q'),
mention: just('m'),
open: any('enter', 'o'),

View File

@@ -213,6 +213,7 @@ function continueThread (state, status) {
map.set('focusDate', new Date());
map.set('caretPosition', null);
map.set('preselectDate', new Date());
map.set('quoted_status_id', null);
});
}
@@ -424,7 +425,9 @@ export const composeReducer = (state = initialState, action) => {
return 'private';
}
return visibility;
});
}).update('advanced_options',
map => map.merge(new ImmutableMap({ do_not_federate: !!status.get('local_only') })),
);
} else if (quoteComposeCancel.match(action)) {
return state.set('quoted_status_id', null);
} else if (setComposeQuotePolicy.match(action)) {

View File

@@ -11,7 +11,7 @@
}
}
@mixin search-input() {
@mixin search-input {
outline: 0;
box-sizing: border-box;
width: 100%;
@@ -26,7 +26,7 @@
margin: 0;
}
@mixin search-popout() {
@mixin search-popout {
background: $simple-background-color;
border-radius: 4px;
padding: 10px 14px;

View File

@@ -70,7 +70,7 @@
margin-inline-start: 15px;
text-align: start;
i[data-hidden] {
svg[data-hidden] {
display: none;
}
@@ -138,7 +138,7 @@
.newer {
float: right;
padding-inline-start: 0;
padding-inline-end: 0;
}
.disabled {
@@ -204,6 +204,7 @@
}
.information-badge,
.simple_form .overridden,
.simple_form .recommended,
.simple_form .not_recommended {
background-color: color.change($ui-secondary-color, $alpha: 0.1);

View File

@@ -168,6 +168,10 @@ a {
button {
font-family: inherit;
cursor: pointer;
&:focus:not(:focus-visible) {
outline: none;
}
}
.app-holder {

View File

@@ -700,9 +700,10 @@ code {
font-family: inherit;
pointer-events: none;
cursor: default;
max-width: 140px;
max-width: 50%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&::after {
content: '';
@@ -831,7 +832,7 @@ code {
}
}
@media screen and (width <= 740px) and (width >= 441px) {
@media screen and (440px < width <= 740px) {
margin-top: 40px;
}

View File

@@ -41,27 +41,11 @@ body.rtl {
float: left;
}
.activity-stream .status.light {
padding-left: 10px;
padding-right: 68px;
}
.status__info .status__display-name,
.activity-stream .status.light .status__display-name {
.status__info .status__display-name {
padding-left: 25px;
padding-right: 0;
}
.activity-stream .pre-header {
padding-right: 68px;
padding-left: 0;
}
.activity-stream .pre-header .pre-header__icon {
left: auto;
right: 42px;
}
.account__header__tabs__buttons > .icon-button {
margin-right: 0;
margin-left: 8px;
@@ -93,6 +77,10 @@ body.rtl {
direction: rtl;
}
.react-swipeable-view-container > * {
direction: rtl;
}
.column-back-button__icon {
transform: scale(-1, 1);
}