mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 06:03:08 +00:00
New Condition Widget, WIP
- Normalize usage of `c-object-label` across components;
This commit is contained in:
parent
32da19a486
commit
b7cea7b955
@ -34,9 +34,7 @@
|
||||
}
|
||||
|
||||
&__object-name {
|
||||
flex: 0 0 auto;
|
||||
@include headerFont();
|
||||
font-size: 1.2em !important;
|
||||
font-size: 1em;
|
||||
margin: $interiorMargin 0 $interiorMarginLg 0;
|
||||
}
|
||||
|
||||
|
@ -40,10 +40,10 @@
|
||||
>
|
||||
<div
|
||||
v-if="currentTab"
|
||||
class="c-tabs-view__object-name l-browse-bar__object-name--w"
|
||||
class="c-tabs-view__object-name c-object-label l-browse-bar__object-name--w"
|
||||
:class="currentTab.type.definition.cssClass"
|
||||
>
|
||||
<div class="l-browse-bar__object-name">
|
||||
<div class="l-browse-bar__object-name c-object-label__name">
|
||||
{{ currentTab.domainObject.name }}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -28,12 +28,12 @@
|
||||
}"
|
||||
>
|
||||
<div class="c-so-view__header">
|
||||
<div
|
||||
class="c-so-view__header__icon"
|
||||
:class="cssClass"
|
||||
></div>
|
||||
<div class="c-so-view__header__name">
|
||||
{{ domainObject && domainObject.name }}
|
||||
<div class="c-object-label"
|
||||
:class="cssClass"
|
||||
>
|
||||
<div class="c-object-label__name">
|
||||
{{ domainObject && domainObject.name }}
|
||||
</div>
|
||||
</div>
|
||||
<context-menu-drop-down
|
||||
:object-path="objectPath"
|
||||
@ -64,7 +64,8 @@ const SIMPLE_CONTENT_TYPES = [
|
||||
'clock',
|
||||
'timer',
|
||||
'summary-widget',
|
||||
'hyperlink'
|
||||
'hyperlink',
|
||||
'condition-widget'
|
||||
];
|
||||
|
||||
export default {
|
||||
|
Loading…
Reference in New Issue
Block a user