You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Add comment, fix bad math
This adds a comment to explain the `max-width` and also fixes it actually use the right value. (I had grabbed the wrong part of `margin` the first time.)
This commit is contained in:
@@ -92,7 +92,7 @@ limitations under the License.
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
max-width: calc(100% - 18px);
|
||||
max-width: calc(100% - 20px); // 100% of parent minus margin and padding
|
||||
}
|
||||
|
||||
.mx_Field input:focus + label,
|
||||
|
Reference in New Issue
Block a user