mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 09:58:52 +00:00
7d03bc4de9
WTD-894 Significant migration of inline styles to CSS classes; Changed telemetry component so that when title is hidden, telem element can take up 100% of the element width; Static text elements now show scrollbars on overflow; Added padding and box-sizing to text elements - this is throwing off the selected control because of the offset and should be fixed;
17 lines
419 B
HTML
17 lines
419 B
HTML
<div
|
|
class="l-fixed-position-text l-telemetry"
|
|
ng-style="{ background: ngModel.fill(), 'border-color': ngModel.stroke(), color: ngModel.color() }"
|
|
>
|
|
<div
|
|
class="l-elem l-title"
|
|
ng-show="ngModel.element.titled"
|
|
>
|
|
{{ngModel.name}}
|
|
</div>
|
|
<div
|
|
class="l-elem l-value"
|
|
ng-class="{ 'telem-only': !ngModel.element.titled }"
|
|
>
|
|
{{ngModel.value}}
|
|
</div>
|
|
</div> |