mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
webui: improve rule table css
- category radio line has line-height large enough to contain undo button -> content doesn't move several pixels on change - remove vertical padding from btns in table headers to maintain about the same height - remove invisible border from link buttons to have the same height for disabled and enabled button Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
parent
500db900e5
commit
189f6fdfd5
@ -285,8 +285,10 @@ textarea.certificate {
|
|||||||
/* ---- Table ---- */
|
/* ---- Table ---- */
|
||||||
|
|
||||||
/* Used in association tables */
|
/* Used in association tables */
|
||||||
th div[name="buttons"] .action-button {
|
th div[name="buttons"] .btn-link {
|
||||||
margin: 0 0 0 6px;
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.scrollable thead {
|
table.scrollable thead {
|
||||||
|
@ -70,3 +70,11 @@
|
|||||||
max-height: 0;
|
max-height: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Rule Details Widget
|
||||||
|
|
||||||
|
.rule-enable-radio {
|
||||||
|
// make some space for 'Undo' button
|
||||||
|
line-height: @input-height-base + 2;
|
||||||
|
margin-bottom: 2px;
|
||||||
|
}
|
||||||
|
@ -46,7 +46,8 @@ IPA.rule_details_widget = function(spec) {
|
|||||||
that.enable_radio = IPA.rule_radio_widget({
|
that.enable_radio = IPA.rule_radio_widget({
|
||||||
name: that.radio_name,
|
name: that.radio_name,
|
||||||
options: that.options,
|
options: that.options,
|
||||||
entity: that.entity
|
entity: that.entity,
|
||||||
|
css_class: 'rule-enable-radio'
|
||||||
});
|
});
|
||||||
|
|
||||||
that.widgets.add_widget(that.enable_radio);
|
that.widgets.add_widget(that.enable_radio);
|
||||||
|
Loading…
Reference in New Issue
Block a user