Update dependency prettier to v3 (#12095)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
renovate[bot] 2024-01-02 18:56:39 +00:00 committed by GitHub
parent 773b03e15e
commit a0c8575113
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
110 changed files with 449 additions and 313 deletions

View file

@ -355,12 +355,12 @@ limitations under the License.
.mx_EventTile_e2eIcon {
flex-shrink: 0; /* keep it at full size */
// Keep height equal to text for shield alignment, additional 2px because of 1px padding on text
/* Keep height equal to text for shield alignment, additional 2px because of 1px padding on text */
height: calc($font-18px + 2px);
}
.mx_MPollEndBody {
// Prevent the poll end body from exceeding the tile width
/* Prevent the poll end body from exceeding the tile width */
width: 100%;
}
}

View file

@ -488,7 +488,7 @@ $left-gutter: 64px;
.mx_EventTile_e2eIcon {
inset: 0 0 0 44px;
// Keep height equal to text for alignment
/* Keep height equal to text for alignment */
height: var(--EventTile_group_line-line-height);
margin: 1px;
}
@ -701,11 +701,11 @@ $left-gutter: 64px;
background-color: $inlinecode-background-color;
border: 1px solid $inlinecode-border-color;
border-radius: 4px;
// The horizontal padding is added by gfm.css .markdown-body
/* The horizontal padding is added by gfm.css .markdown-body */
padding: $spacing-2 0;
// Avoid inline code blocks to be sticked when on multiple lines
/* Avoid inline code blocks to be sticked when on multiple lines */
line-height: $font-22px;
// Avoid the border to be glued to the other words
/* Avoid the border to be glued to the other words */
margin-right: $spacing-2;
}
@ -792,7 +792,7 @@ $left-gutter: 64px;
.mx_EventTile_spoiler {
cursor: pointer;
// clear button styles
/* clear button styles */
appearance: none;
background: none;
border: none;
@ -852,17 +852,17 @@ $left-gutter: 64px;
}
&.mx_EventTile_e2eIcon_warning::after {
mask-image: url("$(res)/img/e2e/warning.svg"); // (!) in a shield
background-color: $e2e-warning-color; // red
mask-image: url("$(res)/img/e2e/warning.svg"); /* (!) in a shield */
background-color: $e2e-warning-color; /* red */
}
&.mx_EventTile_e2eIcon_normal::after {
mask-image: url("$(res)/img/e2e/normal.svg"); // regular shield
background-color: $header-panel-text-primary-color; // grey
mask-image: url("$(res)/img/e2e/normal.svg"); /* regular shield */
background-color: $header-panel-text-primary-color; /* grey */
}
&.mx_EventTile_e2eIcon_decryption_failure::after {
mask-image: url("$(res)/img/e2e/decryption-failure.svg"); // key in a circle
mask-image: url("$(res)/img/e2e/decryption-failure.svg"); /* key in a circle */
background-color: $secondary-content;
}
}

View file

@ -55,7 +55,9 @@ limitations under the License.
width: 14px;
height: 14px;
will-change: left, top;
transition: left var(--transition-short) ease-out, top var(--transition-standard) ease-out;
transition:
left var(--transition-short) ease-out,
top var(--transition-standard) ease-out;
}
}
}
@ -109,7 +111,7 @@ limitations under the License.
margin: 6px 8px;
align-self: center;
justify-self: center;
flex-shrink: 0; // Long names should not shrink the picture
flex-shrink: 0; /* Long names should not shrink the picture */
}
.mx_ReadReceiptGroup_name {

View file

@ -37,7 +37,9 @@ limitations under the License.
color: $secondary-content;
transition: color ease 0.15s;
gap: 2px;
max-width: 100%; // avoid overflow with wide content
max-width: 100%;
// avoid overflow with wide content
&:hover {
color: $primary-content;
@ -112,7 +114,7 @@ limitations under the License.
grid-template:
"sender message" auto
/ max-content auto;
gap: 4px; // increase spacing
gap: 4px; /* increase spacing */
}
.mx_ReplyTile_sender {
@ -124,18 +126,18 @@ limitations under the License.
.mx_DisambiguatedProfile {
font: var(--cpd-font-body-md-regular);
display: inline-block; // anti-zalgo, with overflow hidden
display: inline-block; /* anti-zalgo, with overflow hidden */
padding: 0;
margin: 0;
// truncate long display names
/* truncate long display names */
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.mx_BaseAvatar {
line-height: 14px; // To match size
line-height: 14px; /* To match size */
}
}
}

View file

@ -28,7 +28,7 @@ limitations under the License.
}
.mx_RoomHeader_infoWrapper {
// unset button styles
/* unset button styles */
background: unset;
border: unset;
flex: 1;

View file

@ -46,8 +46,8 @@ limitations under the License.
p {
margin-top: 0;
margin-bottom: 0;
// this may seem redundant, but we need to handle zero content formatting tags, which occur when we split a
// formatting tag into paragraphs
/* this may seem redundant, but we need to handle zero content formatting tags, which occur when we split a
formatting tag into paragraphs */
min-height: $font-22px;
}