Skip to content

Commit

Permalink
Add a comment to explain why display property is used instead of visi…
Browse files Browse the repository at this point in the history
…bility one

Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul committed Mar 4, 2024
1 parent a62f97e commit 2342ee8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions res/css/_sc/views/rooms/_IRCLayout.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ limitations under the License.
}

@define-mixin sc_DisambiguatedProfile_visibility {
/* On the upstream, appearance of mxid on disambiguatedProfile is managed by
"visibility" property. Since it renders mxid hiding it and pushes
displayName to the left side, we need to use display property instead. */
.mx_DisambiguatedProfile {
> .mx_DisambiguatedProfile_mxid {
display: none;
Expand Down

0 comments on commit 2342ee8

Please sign in to comment.