mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-27 14:03:40 +03:00
Feature #4363: Fix textarea height inside a table
This commit is contained in:
parent
9d2647e78d
commit
ffc1a8971d
@ -43,7 +43,7 @@ define(function(require) {
|
||||
fromJSONtoHTMLTable(templateJSON, resourceType) +
|
||||
'<tr>\
|
||||
<td class="key_td"><input type="text" name="new_key" id="new_key" /></td>\
|
||||
<td class="value_td"><textarea rows="1" type="text" name="new_value" id="new_value"></textarea></td>\
|
||||
<td class="value_td"><textarea type="text" name="new_value" id="new_value"></textarea></td>\
|
||||
<td class="text-right"><button type="button" id="button_add_value" class="button small secondary">' + Locale.tr("Add") + '</button>\</td>\
|
||||
</tr>' +
|
||||
'</table>'
|
||||
|
@ -1,8 +1,20 @@
|
||||
table {
|
||||
input {
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
textarea {
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
|
||||
textarea {
|
||||
height: $input-font-size + ($form-spacing * 1.5) - rem-calc(1);
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
select {
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
thead {
|
||||
border: 0;
|
||||
|
||||
|
@ -62,4 +62,10 @@
|
||||
& > .tabs-panel {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.wizard_tabs {
|
||||
a {
|
||||
padding: 0.5rem 1.5rem;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user