mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Make ‘edit template’ textboxes the same width
This involves: - removing the hard coded width on any textbox that does placeholder highlighting - adding JS to make sure that the extra layers on top of the textbox inherit the width of the textbox that the user types in (so the layers don’t get misaligned) Keeping the textboxes at 2/3 width for consistency with how wide the messages are on the ‘manage templates’ page.
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
.on("input", this.update)
|
||||
.on("scroll", this.maintainScrollParity);
|
||||
|
||||
this.$backgroundMaskForeground.width(
|
||||
this.$textbox.width()
|
||||
);
|
||||
|
||||
this.$textbox
|
||||
.trigger("input");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user