Disallow invalid inline style comments in stylesheets (#9099)
This commit is contained in:
@@ -16,7 +16,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
.mx_UserInfo.mx_BaseCard {
|
||||
// UserInfo has a circular image at the top so it fits between the back & close buttons
|
||||
/* UserInfo has a circular image at the top so it fits between the back & close buttons */
|
||||
padding-top: 0;
|
||||
overflow-y: auto;
|
||||
font-size: $font-12px;
|
||||
@@ -27,8 +27,8 @@ limitations under the License.
|
||||
top: 0;
|
||||
border-radius: 4px;
|
||||
background-color: $dark-panel-bg-color;
|
||||
margin: 9px; // TODO: Use a variable
|
||||
z-index: 1; // render on top of the right panel
|
||||
margin: 9px; /* TODO: Use a variable */
|
||||
z-index: 1; /* render on top of the right panel */
|
||||
|
||||
div {
|
||||
height: 16px;
|
||||
@@ -44,7 +44,7 @@ limitations under the License.
|
||||
h2 {
|
||||
font-size: $font-18px;
|
||||
font-weight: 600;
|
||||
margin: 18px 0 0 0; // TODO: Use a variable
|
||||
margin: 18px 0 0 0; /* TODO: Use a variable */
|
||||
}
|
||||
|
||||
.mx_UserInfo_container {
|
||||
@@ -128,7 +128,7 @@ limitations under the License.
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
// override the calculated sizes so that the letter isn't HUGE
|
||||
/* override the calculated sizes so that the letter isn't HUGE */
|
||||
font-size: 6rem !important;
|
||||
width: 100% !important;
|
||||
transition: font-size 0.5s;
|
||||
@@ -151,7 +151,7 @@ limitations under the License.
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 5px 0; // TODO: Use a variable
|
||||
margin: 5px 0; /* TODO: Use a variable */
|
||||
}
|
||||
|
||||
.mx_UserInfo_profile {
|
||||
@@ -165,8 +165,8 @@ limitations under the License.
|
||||
justify-content: center;
|
||||
|
||||
span {
|
||||
// limit to 2 lines, show an ellipsis if it overflows
|
||||
// this looks webkit specific but is supported by Firefox 68+
|
||||
/* limit to 2 lines, show an ellipsis if it overflows */
|
||||
/* this looks webkit specific but is supported by Firefox 68+ */
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
@@ -177,9 +177,9 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_E2EIcon {
|
||||
margin-top: 3px; // visual vertical centering to the top line of text. TODO: Use a variable
|
||||
margin-inline-end: $spacing-4; // margin from displayName
|
||||
min-width: 18px; // convince flexbox to not collapse it
|
||||
margin-top: 3px; /* visual vertical centering to the top line of text. TODO: Use a variable */
|
||||
margin-inline-end: $spacing-4; /* margin from displayName */
|
||||
min-width: 18px; /* convince flexbox to not collapse it */
|
||||
}
|
||||
}
|
||||
|
||||
@@ -194,13 +194,13 @@ limitations under the License.
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
margin: 6px 0; // TODO: Use a variable
|
||||
margin: 6px 0; /* TODO: Use a variable */
|
||||
|
||||
.mx_UserInfo_roleDescription {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
// try to make it the same height as the dropdown
|
||||
/* try to make it the same height as the dropdown */
|
||||
margin: 11px 0 12px 0;
|
||||
}
|
||||
|
||||
@@ -261,9 +261,9 @@ limitations under the License.
|
||||
}
|
||||
}
|
||||
|
||||
// both for icon in expand button and device item
|
||||
/* both for icon in expand button and device item */
|
||||
.mx_E2EIcon {
|
||||
// don't squeeze
|
||||
/* don't squeeze */
|
||||
flex: 0 0 auto;
|
||||
margin: 0;
|
||||
width: 12px;
|
||||
@@ -271,9 +271,9 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_UserInfo_expand {
|
||||
column-gap: 5px; // cf: mx_UserInfo_device_name
|
||||
column-gap: 5px; /* cf: mx_UserInfo_device_name */
|
||||
margin-bottom: 11px;
|
||||
align-items: initial; // Cancel the default property
|
||||
align-items: initial; /* Cancel the default property */
|
||||
}
|
||||
}
|
||||
|
||||
@@ -287,7 +287,7 @@ limitations under the License.
|
||||
.mx_UserInfo_avatar_transition_child {
|
||||
.mx_BaseAvatar {
|
||||
.mx_BaseAvatar_initial {
|
||||
font-size: 40px !important; // override the other override because here the avatar is smaller
|
||||
font-size: 40px !important; /* override the other override because here the avatar is smaller */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user