vault/ui/app/styles/components/namespace-picker.scss
Shannon Roberts (Beagin) 52aa1e0fc5
[VAULT-35871] UI: Address design UI feedback on namespace picker (#30571)
* [VAULT-35871] UI: Address design UI feedback on namespace picker

* remove unused css class

* dynamic width based on namespace length; not help messages

* handle long namespace name - truncate the second line

* hide/show message element so that it doesn't affect the layout while getting the width.

* add copyright header to scss file

* address PR comments & additional design feedback

* fix syntax error

* address more design feedback: use small buttons
2025-05-12 15:52:20 -07:00

27 lines
462 B
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
@use '../helper-classes/general';
@use '../helper-classes/flexbox-and-grid';
.namespace-picker {
.hds-dropdown__content {
min-width: 239px;
}
.hds-dropdown-toggle-button__text {
@extend .truncate-second-line, .is-word-break;
white-space: normal;
}
.hds-button-set {
@extend .is-flex-between;
.hds-button {
@extend .is-flex-grow-1;
}
}
}