Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit b9f2630

Browse files
authored
Merge branch 'develop' into DisambiguatedProfile
2 parents 385229b + c86040b commit b9f2630

File tree

83 files changed

+1203
-1095
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1203
-1095
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ module.exports = {
8686
"jsx-a11y/no-static-element-interactions": "off",
8787
"jsx-a11y/role-supports-aria-props": "off",
8888
"jsx-a11y/tabindex-no-positive": "off",
89+
90+
"matrix-org/require-copyright-header": "error",
8991
},
9092
overrides: [
9193
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
"eslint-config-google": "^0.14.0",
174174
"eslint-plugin-import": "^2.25.4",
175175
"eslint-plugin-jsx-a11y": "^6.5.1",
176-
"eslint-plugin-matrix-org": "^0.4.0",
176+
"eslint-plugin-matrix-org": "^0.5.2",
177177
"eslint-plugin-react": "^7.28.0",
178178
"eslint-plugin-react-hooks": "^4.3.0",
179179
"fs-extra": "^10.0.1",

res/css/_components.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@
126126
@import "./views/dialogs/_SpacePreferencesDialog.scss";
127127
@import "./views/dialogs/_SpaceSettingsDialog.scss";
128128
@import "./views/dialogs/_SpotlightDialog.scss";
129-
@import "./views/dialogs/_TabbedIntegrationManagerDialog.scss";
130129
@import "./views/dialogs/_TermsDialog.scss";
131130
@import "./views/dialogs/_UntrustedDeviceDialog.scss";
132131
@import "./views/dialogs/_UploadConfirmDialog.scss";

res/css/views/dialogs/_MessageEditHistoryDialog.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ limitations under the License.
5555
text-decoration: underline;
5656
}
5757

58+
.mx_EventTile {
59+
.mx_MessageTimestamp {
60+
position: absolute;
61+
}
62+
}
63+
5864
.mx_EventTile_line, .mx_EventTile_content {
5965
margin-right: 0px;
6066
}

res/css/views/dialogs/_TabbedIntegrationManagerDialog.scss

Lines changed: 0 additions & 62 deletions
This file was deleted.

res/css/views/elements/_Pill.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ limitations under the License.
5858
text-overflow: ellipsis;
5959
white-space: nowrap;
6060
overflow: hidden;
61-
max-width: calc(100% - 1ch);
6261
text-decoration: none !important; // To override .markdown-body
6362
}
6463
}

res/css/views/elements/_RichText.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,10 @@
3535
.mx_Markdown_STRIKETHROUGH {
3636
text-decoration: line-through;
3737
}
38+
39+
.mx_Emoji {
40+
// Should be 1.8rem for our default message bodies, and scale with the
41+
// surrounding text
42+
font-size: max($font-18px, 1em);
43+
vertical-align: bottom;
44+
}

res/css/views/messages/_MLocationBody.scss

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ limitations under the License.
1515
*/
1616

1717
.mx_MLocationBody {
18+
max-width: 100%;
19+
1820
.mx_MLocationBody_map {
21+
max-width: 100%;
1922
width: 450px;
2023
height: 300px;
2124
z-index: 0; // keeps the entire map under the message action bar
@@ -27,15 +30,11 @@ limitations under the License.
2730

2831
/* In the timeline, we fit the width of the container */
2932
.mx_EventTile_line .mx_MLocationBody .mx_MLocationBody_map {
30-
width: 100%;
3133
max-width: 450px;
34+
width: 100%;
3235
}
3336

34-
.mx_EventTile[data-layout="bubble"] .mx_EventTile_line .mx_MLocationBody {
37+
.mx_EventTile[data-layout="bubble"] .mx_EventTile_line .mx_MLocationBody .mx_MLocationBody_map {
3538
max-width: 100%;
36-
37-
.mx_MLocationBody_map {
38-
max-width: 100%;
39-
width: 450px;
40-
}
39+
width: 450px;
4140
}

res/css/views/messages/_MessageTimestamp.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ limitations under the License.
1818
color: $event-timestamp-color;
1919
font-size: $font-10px;
2020
font-variant-numeric: tabular-nums;
21+
width: $MessageTimestamp_width;
2122
}

res/css/views/messages/_TextualEvent.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ limitations under the License.
1717
.mx_TextualEvent {
1818
opacity: 0.5;
1919
overflow-y: hidden;
20+
line-height: normal;
2021

2122
a {
2223
color: $accent;

0 commit comments

Comments
 (0)