fix: Remove unnecessary line-height

This commit is contained in:
Suraj Shetty 2021-02-08 18:37:47 +05:30
parent 3cadc52fb3
commit 7ec36b6d52

View file

@ -12,8 +12,7 @@ frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({
trigger_change_on_input_event: false,
make_input: function() {
var me = this;
// line-height: 1 is for Mozilla 51, shows extra padding otherwise
$(`<div class="link-field ui-front" style="position: relative; line-height: 1;">
$(`<div class="link-field ui-front" style="position: relative;">
<input type="text" class="input-with-feedback form-control">
<span class="link-btn">
<a class="btn-open no-decoration" title="${__("Open Link")}">