Skip to content

Commit 047cbc8

Browse files
committed
Update width of selectors
Signed-off-by: Harshil Gupta <harshilgupta1808@gmail.com>
1 parent 98eec94 commit 047cbc8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

packages/jaeger-ui/src/components/Monitor/MultiTagSelector/MultiTagSelector.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ limitations under the License.
2020
font-weight: 800;
2121
}
2222

23-
/* .tag-selector {
24-
padding-left: 10px;
25-
} */
23+
.tag-selector {
24+
/* padding-left: 10px; */
25+
min-width: 150px; /* Minimum width for usability */
26+
width: 100%; /* Allow width to grow based on content */
27+
}
2628

2729
.multi-tag-selector {
2830
padding: 5px;

packages/jaeger-ui/src/components/Monitor/MultiTagSelector/MultiTagSelector.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const MultiTagSelector = ({ service, onChange, disabled = false, value = '' }) =
117117
<Col key={attribute.name}>
118118
<h2 className="tag-selector-header">{attribute.label}</h2>
119119
<SearchableSelect
120-
placeholder={`Select ${attribute.label.toLowerCase()}`}
120+
placeholder={`Select`}
121121
value={selectedValues[attribute.name] || undefined}
122122
onChange={val => handleValueChange(attribute.name, val)}
123123
loading={loading[attribute.name]}

0 commit comments

Comments
 (0)