From d49ae5d89c2decc0a628e6538c5f7505be918a22 Mon Sep 17 00:00:00 2001 From: didierfred <didierfred@gmail.com> Date: Fri, 4 May 2018 08:59:25 +0200 Subject: [PATCH] adujst field heigth --- popup/config.html | 7 ++++++- popup/config.js | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/popup/config.html b/popup/config.html index fe05c2a..f62a042 100644 --- a/popup/config.html +++ b/popup/config.html @@ -16,7 +16,12 @@ .select_field{ font-size: 14px; - height: 26px; + height: 30px; +} + +.input_field{ + font-size: 14px; + height: 30px; } </style> </head> diff --git a/popup/config.js b/popup/config.js index 7d86029..0e97d76 100644 --- a/popup/config.js +++ b/popup/config.js @@ -35,9 +35,9 @@ window.onload = function() { function appendLine(action,header_name,header_value,comment,apply_on,status) { var html = "<td><select class=\"form_control select_field\" id=\"select_action" + line_number + "\" disable=false><option value=\"add\">Add</option><option value=\"modify\">Modify</option><option value=\"delete\">Delete</option></select></td>"; -html = html + "<td><input class=\"form_control\" id=\"header_name"+ line_number + "\"></input></td>"; -html = html + "<td><input class=\"form_control\" size=\"28\" id=\"header_value"+ line_number + "\"></input></td>"; -html = html + "<td><input class=\"form_control\" size=\"28\" id=\"comment"+ line_number + "\"></input></td>"; +html = html + "<td><input class=\"form_control input_field\" id=\"header_name"+ line_number + "\"></input></td>"; +html = html + "<td><input class=\"form_control input_field\" size=\"28\" id=\"header_value"+ line_number + "\"></input></td>"; +html = html + "<td><input class=\"form_control input_field\" size=\"28\" id=\"comment"+ line_number + "\"></input></td>"; html = html + "<td><select class=\"form_control select_field\" id=\"apply_on" + line_number + "\"><option value=\"req\"> Request </option><option value=\"res\">Response</option></select></td>"; html = html + "<td><select class=\"form_control select_field\" id=\"select_status" + line_number + "\"><option value=\"on\"> ON </option><option value=\"off\">OFF</option></select></td>"; html = html + "<td> <a href=\"#\" title=\"Move line up\" id=\"up_button" + line_number + "\" class=\"btn btn-default btn-sm\"> <span class=\"glyphicon glyphicon-arrow-up\"></span></a></td>"; -- GitLab