mirror of
https://github.com/nasa/openmct.git
synced 2025-06-20 08:03:49 +00:00
Centre and wrap Condition Widget label (#5886)
* [ConditionWidget] Center label text Addresses #5799 * [ConditionWidget] Wrap label text Addresses #5799 * [ConditionWidget] Add padding to label Addresses #5799 * [ConditionWidget] Use interiorMargin value for padding Addresses #5799
This commit is contained in:
@ -30,6 +30,12 @@
|
|||||||
padding: $interiorMarginLg $interiorMarginLg * 2;
|
padding: $interiorMarginLg $interiorMarginLg * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.c-condition-widget__label {
|
||||||
|
padding: $interiorMargin;
|
||||||
|
text-align: center;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
a.c-condition-widget {
|
a.c-condition-widget {
|
||||||
// Widget is conditionally made into a <a> when URL property has been defined
|
// Widget is conditionally made into a <a> when URL property has been defined
|
||||||
cursor: pointer !important;
|
cursor: pointer !important;
|
||||||
|
Reference in New Issue
Block a user