Fix profile resizer to make first character of a line selectable in IRC layout (#10396)

This commit is contained in:
Suguru Hirahara 2023-03-21 09:10:13 +00:00 committed by GitHub
parent c238e72e47
commit d8acdd1750
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 5 deletions

View file

@ -14,6 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
:root {
--RoomView_MessageList-padding: 18px; /* TODO: use a variable */
}
.mx_RoomView_wrapper {
display: flex;
flex-direction: column;
@ -176,7 +180,7 @@ limitations under the License.
.mx_RoomView_MessageList {
list-style-type: none;
padding: 18px;
padding: var(--RoomView_MessageList-padding); /* mx_ProfileResizer depends on this value */
margin: 0;
/* needed as min-height is set to clientHeight in ScrollPanel
to prevent shrinking when WhoIsTypingTile is hidden */