mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 15:11:07 +02:00
* [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
27 lines
462 B
SCSS
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;
|
|
}
|
|
}
|
|
}
|