Fix word wrapping in expanded left panel buttons (#31377)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -36,6 +36,8 @@ Please see LICENSE files in the repository root for full details.
|
|||||||
|
|
||||||
/* align with settings icon */
|
/* align with settings icon */
|
||||||
margin-left: 21px;
|
margin-left: 21px;
|
||||||
|
margin-right: 8px;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* modify internal css of the compound component
|
* modify internal css of the compound component
|
||||||
@@ -50,7 +52,8 @@ Please see LICENSE files in the repository root for full details.
|
|||||||
/* align with settings label */
|
/* align with settings label */
|
||||||
margin-right: 14px;
|
margin-right: 14px;
|
||||||
/* required to set the icon width when into a flex container */
|
/* required to set the icon width when into a flex container */
|
||||||
min-width: 24px;
|
width: 24px;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
& .mx_QuickSettingsButton_label {
|
& .mx_QuickSettingsButton_label {
|
||||||
|
|||||||
@@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
/* align with settings icon */
|
/* align with settings icon */
|
||||||
margin-left: 21px;
|
margin-left: 21px;
|
||||||
|
margin-right: 8px;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* modify internal css of the compound component
|
* modify internal css of the compound component
|
||||||
@@ -31,13 +33,20 @@
|
|||||||
& > div {
|
& > div {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
inline-size: 8px;
|
||||||
|
block-size: 8px;
|
||||||
|
left: 17px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& .mx_ThreadsActivityCentreButton_Icon {
|
& .mx_ThreadsActivityCentreButton_Icon {
|
||||||
/* align with settings label */
|
/* align with settings label */
|
||||||
margin-right: 14px;
|
margin-right: 14px;
|
||||||
/* required to set the icon width when into a flex container */
|
/* required to set the icon width when into a flex container */
|
||||||
min-width: 24px;
|
width: 24px;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
& .mx_ThreadsActivityCentreButton_Text {
|
& .mx_ThreadsActivityCentreButton_Text {
|
||||||
|
|||||||
Reference in New Issue
Block a user