style: 💄 fix formatting for long credential names & description (#2804)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16869
This commit is contained in:
1 parent
30028b5ba0
commit
20a05dc96a
2 files changed
+11
-6
No files matched your search
@@ -48,16 +48,20 @@
|
||||
{{else}}
|
||||
<div class='credential-panel-body'>
|
||||
<div class='credential-header'>
|
||||
<div class='credential-name hds-typography-display-200'>
|
||||
<Hds::Text::Display class='credential-name' @weight='semibold'>
|
||||
{{#if credential.source.name}}
|
||||
{{credential.source.name}}
|
||||
{{else}}
|
||||
{{credential.source.id}}
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class='hds-typography-body-100'>
|
||||
</Hds::Text::Display>
|
||||
<Hds::Text::Body
|
||||
class='credential-description'
|
||||
@size='100'
|
||||
@weight='semibold'
|
||||
>
|
||||
{{credential.source.description}}
|
||||
</div>
|
||||
</Hds::Text::Body>
|
||||
</div>
|
||||
|
||||
<ul class='credential-secret'>
|
||||
|
||||
@@ -479,8 +479,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
.credential-name {
|
||||
font-weight: var(--token-typography-font-weight-semibold);
|
||||
.credential-name,
|
||||
.credential-description {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.raw-credential-panel-body {
|
||||
|
||||
Reference in new issue
Block a user