mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
Merge pull request #3287 from ClearlyClaire/glitch-soc/backports/4.5
Backport changes to stable-4.5
This commit is contained in:
@@ -105,6 +105,7 @@ const hotkeyMatcherMap = {
|
|||||||
reply: just('r'),
|
reply: just('r'),
|
||||||
favourite: just('f'),
|
favourite: just('f'),
|
||||||
boost: just('b'),
|
boost: just('b'),
|
||||||
|
bookmark: just('d'),
|
||||||
quote: just('q'),
|
quote: just('q'),
|
||||||
mention: just('m'),
|
mention: just('m'),
|
||||||
open: any('enter', 'o'),
|
open: any('enter', 'o'),
|
||||||
|
|||||||
@@ -213,6 +213,7 @@ function continueThread (state, status) {
|
|||||||
map.set('focusDate', new Date());
|
map.set('focusDate', new Date());
|
||||||
map.set('caretPosition', null);
|
map.set('caretPosition', null);
|
||||||
map.set('preselectDate', new Date());
|
map.set('preselectDate', new Date());
|
||||||
|
map.set('quoted_status_id', null);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -424,7 +425,9 @@ export const composeReducer = (state = initialState, action) => {
|
|||||||
return 'private';
|
return 'private';
|
||||||
}
|
}
|
||||||
return visibility;
|
return visibility;
|
||||||
});
|
}).update('advanced_options',
|
||||||
|
map => map.merge(new ImmutableMap({ do_not_federate: !!status.get('local_only') })),
|
||||||
|
);
|
||||||
} else if (quoteComposeCancel.match(action)) {
|
} else if (quoteComposeCancel.match(action)) {
|
||||||
return state.set('quoted_status_id', null);
|
return state.set('quoted_status_id', null);
|
||||||
} else if (setComposeQuotePolicy.match(action)) {
|
} else if (setComposeQuotePolicy.match(action)) {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin search-input() {
|
@mixin search-input {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin search-popout() {
|
@mixin search-popout {
|
||||||
background: $simple-background-color;
|
background: $simple-background-color;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 10px 14px;
|
padding: 10px 14px;
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
margin-inline-start: 15px;
|
margin-inline-start: 15px;
|
||||||
text-align: start;
|
text-align: start;
|
||||||
|
|
||||||
i[data-hidden] {
|
svg[data-hidden] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
|
|
||||||
.newer {
|
.newer {
|
||||||
float: right;
|
float: right;
|
||||||
padding-inline-start: 0;
|
padding-inline-end: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disabled {
|
.disabled {
|
||||||
@@ -204,6 +204,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.information-badge,
|
.information-badge,
|
||||||
|
.simple_form .overridden,
|
||||||
.simple_form .recommended,
|
.simple_form .recommended,
|
||||||
.simple_form .not_recommended {
|
.simple_form .not_recommended {
|
||||||
background-color: color.change($ui-secondary-color, $alpha: 0.1);
|
background-color: color.change($ui-secondary-color, $alpha: 0.1);
|
||||||
|
|||||||
@@ -168,6 +168,10 @@ a {
|
|||||||
button {
|
button {
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:focus:not(:focus-visible) {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-holder {
|
.app-holder {
|
||||||
|
|||||||
@@ -700,9 +700,10 @@ code {
|
|||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
max-width: 140px;
|
max-width: 50%;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '';
|
content: '';
|
||||||
@@ -831,7 +832,7 @@ code {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (width <= 740px) and (width >= 441px) {
|
@media screen and (440px < width <= 740px) {
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,27 +41,11 @@ body.rtl {
|
|||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity-stream .status.light {
|
.status__info .status__display-name {
|
||||||
padding-left: 10px;
|
|
||||||
padding-right: 68px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.status__info .status__display-name,
|
|
||||||
.activity-stream .status.light .status__display-name {
|
|
||||||
padding-left: 25px;
|
padding-left: 25px;
|
||||||
padding-right: 0;
|
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 {
|
.account__header__tabs__buttons > .icon-button {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
@@ -93,6 +77,10 @@ body.rtl {
|
|||||||
direction: rtl;
|
direction: rtl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.react-swipeable-view-container > * {
|
||||||
|
direction: rtl;
|
||||||
|
}
|
||||||
|
|
||||||
.column-back-button__icon {
|
.column-back-button__icon {
|
||||||
transform: scale(-1, 1);
|
transform: scale(-1, 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user