mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(input): remove resize handle from non-textarea inputs (#6768)
Fixes some input types getting a native resize handle, because we were setting the `resize: vertical` explicitly for all `.mat-input-element` instances. Fixes #6757.
This commit is contained in:
committed by
Jeremy Elbourn
parent
e318de6cd1
commit
1272f03215
@@ -22,7 +22,6 @@
|
||||
|
||||
// Prevent textareas from being resized outside the form field.
|
||||
max-width: 100%;
|
||||
resize: vertical;
|
||||
|
||||
// Needed to make last line of the textarea line up with the baseline.
|
||||
vertical-align: bottom;
|
||||
@@ -45,5 +44,7 @@
|
||||
|
||||
// Prevents IE from always adding a scrollbar by default.
|
||||
textarea.mat-input-element {
|
||||
// Only allow resizing along the Y axis.
|
||||
resize: vertical;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user