Merge pull request #159 from alphagov/edit-template-textbox-width

Make ‘edit template’ textboxes the same width
This commit is contained in:
Adam Shimali
2016-02-08 10:47:20 +00:00
2 changed files with 5 additions and 2 deletions

View File

@@ -23,6 +23,10 @@
.on("input", this.update)
.on("scroll", this.maintainScrollParity);
this.$backgroundMaskForeground.width(
this.$textbox.width()
);
this.$textbox
.trigger("input");

View File

@@ -18,11 +18,10 @@
display: block;
box-sizing: border-box;
position: relative;
width: 500px;
height: 200px;
margin: 0;
padding: 4px;
overflow: hidden;
height: 200px;
}
&-background,