1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Remove TODO comments about spacing variables (#10695)

The variables on _spacing.pcss have been deprecated by https://github.com/matrix-org/matrix-react-sdk/pull/10686
This commit is contained in:
Suguru Hirahara
2023-06-06 14:03:52 +00:00
committed by GitHub
parent c42a7769e9
commit d340fa8d2a
18 changed files with 56 additions and 56 deletions

View File

@ -15,10 +15,10 @@ limitations under the License.
*/
.mx_EventTileBubble {
--EventTileBubble_margin-block: 10px; /* TODO: Use a spacing variable */
--EventTileBubble_margin-block: 10px;
background-color: $dark-panel-bg-color;
padding: 10px; /* TODO: Use a spacing variable */
padding: 10px;
border-radius: 8px;
/* Reserve space for external timestamps, but also cap the width */
max-width: min(calc(100% - 2 * var(--MessageTimestamp-width)), 600px);

View File

@ -29,7 +29,7 @@ limitations under the License.
pre {
line-height: 1.2;
margin: 3.5px 0; /* TODO: use a variable */
margin: 3.5px 0;
}
.mx_ViewSourceEvent_toggle {
@ -56,7 +56,7 @@ limitations under the License.
align-self: flex-end;
height: var(--ViewSourceEvent_toggle-size);
mask-position: 0 bottom;
margin-bottom: 5px; /* TODO: use a variable */
margin-bottom: 5px;
mask-image: url("$(res)/img/element-icons/minimise-collapse.svg");
}
}