@c8y/style 1023.14.192 → 1023.14.195

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/style",
3
- "version": "1023.14.192",
3
+ "version": "1023.14.195",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity GmbH",
6
6
  "description": "Styles for Cumulocity IoT applications",
@@ -63,7 +63,16 @@ c8y-chart {
63
63
  }
64
64
  }
65
65
 
66
- // Removed unused control utility class - verified 0 usages: .top-chart-bar
66
+ // Partially restored for the legacy data point graph (MTM-66855): the max-width
67
+ // constraint is what makes the selected-datapoints label truncate with an ellipsis.
68
+ .top-chart-bar {
69
+ c8y-item-selector {
70
+ max-width: 170px;
71
+ @media (min-width: $screen-md-min) {
72
+ max-width: 240px;
73
+ }
74
+ }
75
+ }
67
76
 
68
77
  .c8yGraphFill {
69
78
  min-height: 540px;
@@ -74,11 +83,15 @@ c8y-chart {
74
83
 
75
84
  // inside dashboard widgets
76
85
  .card-dashboard {
77
- // Removed unused control utility class - verified 0 usages: .top-chart-bar
78
86
  c8y-measurements-icon-bar {
79
87
  width: 100%;
80
88
  }
81
- // Removed unused control utility class - verified 0 usages: .top-chart-bar
89
+ // Partially restored for the legacy data point graph (MTM-66855)
90
+ .top-chart-bar {
91
+ c8y-item-selector {
92
+ max-width: 170px;
93
+ }
94
+ }
82
95
  }
83
96
 
84
97
  // Removed unused utility usage: .has-aggregation .measurement-icon-bar .c8y-realtime
@@ -141,7 +141,9 @@ c8y-item-selector {
141
141
  }
142
142
 
143
143
  .dropdown-menu.multiselect-container {
144
- .dropdown.open & {
144
+ // body.uib-dropdown-open covers menus rendered with dropdown-append-to-body
145
+ .dropdown.open &,
146
+ body.uib-dropdown-open > & {
145
147
  overflow: auto !important;
146
148
  max-height: 278px;
147
149
  min-width: 240px;