mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Make border width of field layers match textbox
We put a border on text boxes that have errors. This means that they take up more space than the layers above them which don’t have borders. This makes the layers that highlight the fields in a template misalign. This commit adds a line to make the borders match, which fixes this.
This commit is contained in:
@@ -46,9 +46,10 @@
|
||||
|
||||
this.initialHeight = this.$textbox.height();
|
||||
|
||||
this.$backgroundMaskForeground.width(
|
||||
this.$textbox.width()
|
||||
);
|
||||
this.$backgroundMaskForeground.css({
|
||||
'width': this.$textbox.width(),
|
||||
'border-width': this.$textbox.css('border-width')
|
||||
});
|
||||
|
||||
this.$textbox
|
||||
.trigger("input");
|
||||
|
||||
Reference in New Issue
Block a user