mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-15 16:34:11 +01:00
AttributeSet: Avoid items' label to wrap on display in the backoffice (regression from 42be0c20)
This commit is contained in:
@@ -4,15 +4,21 @@
|
||||
*/
|
||||
|
||||
$ibo-input-within-datatable--attribute-set-item--padding-x: $ibo-input-set--item--padding-x !default;
|
||||
$ibo-input-within-datatable--attribute-set-item--padding-y: $ibo-input-set--item--padding-y !default;
|
||||
$ibo-input-within-datatable--attribute-set-item--box-shadow: $ibo-elevation-100 !default;
|
||||
$ibo-input-within-datatable--attribute-set-item--siblings-spacing: 0.5rem !default;
|
||||
|
||||
.ibo-datatable {
|
||||
.attribute-set {
|
||||
.attribute-set-item {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
padding: 0 $ibo-input-within-datatable--attribute-set-item--padding-x;
|
||||
padding: $ibo-input-within-datatable--attribute-set-item--padding-y $ibo-input-within-datatable--attribute-set-item--padding-x;
|
||||
box-shadow: $ibo-input-within-datatable--attribute-set-item--box-shadow;
|
||||
|
||||
+ .attribute-set-item {
|
||||
margin-left: $ibo-input-within-datatable--attribute-set-item--siblings-spacing;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,15 @@ $ibo-field--enable-bulk--checkbox--margin-left: 8px !default;
|
||||
|
||||
/* Avoid value to overflow from its container with very long strings (typically URLs) */
|
||||
/* Note: Some types of attribute must be excluding as it can alter their rendering */
|
||||
&:not([data-attribute-type="AttributeBlob"]):not([data-attribute-type="AttributeFile"]):not([data-attribute-type="AttributeImage"]):not([data-attribute-type="AttributeCustomFields"]):not(.ibo-input-file-select--container) {
|
||||
&:not([data-attribute-type="AttributeBlob"])
|
||||
&:not([data-attribute-type="AttributeFile"])
|
||||
&:not([data-attribute-type="AttributeImage"])
|
||||
&:not([data-attribute-type="AttributeCustomFields"])
|
||||
&:not([data-attribute-type="AttributeTagSet"])
|
||||
&:not([data-attribute-type="AttributeEnumSet"])
|
||||
&:not([data-attribute-type="AttributeClassAttCodeSet"])
|
||||
&:not([data-attribute-type="AttributeQueryAttCodeSet"])
|
||||
&:not(.ibo-input-file-select--container) {
|
||||
/* We need the rule to apply for the class and all its descendants, hence the "&, & *" */
|
||||
.ibo-field--value {
|
||||
&, & * {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user