style: 💄 issues with spacing in manage scopes pages for a role (#2515)

* style: 💄 issues with spacing in manage scopes pages for a role

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15287
This commit is contained in:
Lisbet Alvarez authored and GitHub committed 2024-10-09 15:17:42 -07:00
1 parent 965e82473d
commit 857bf01596
4 files changed
+11 -9

No files matched your search

+2 -1
View File
@@ -26,7 +26,8 @@
margin-top: 3rem;
}
> * {
> div,
table {
margin-bottom: 1rem;
}
@@ -21,8 +21,8 @@
/>
</Hds::SegmentedGroup>
{{#if @model.orgScopes}}
{{#if @model.role.grantScopeOrgIDs.length}}
<div class='table-selected-items-text'>
<div class='table-selected-items-text'>
{{#if @model.role.grantScopeOrgIDs.length}}
<Hds::Text::Body @tag='p' @color='faint'>
{{t
'resources.role.scope.titles.selected'
@@ -30,8 +30,8 @@
total=@model.totalItemsCount
}}
</Hds::Text::Body>
</div>
{{/if}}
{{/if}}
</div>
<Hds::Table
@columns={{array
(hash label=(t 'resources.role.scope.title'))
@@ -21,8 +21,8 @@
/>
</Hds::SegmentedGroup>
{{#if @model.projectScopes}}
{{#if this.selectedProjectsCount}}
<div class='table-selected-items-text'>
<div class='table-selected-items-text'>
{{#if this.selectedProjectsCount}}
<Hds::Text::Body @tag='p' @color='faint'>
{{t
'resources.role.scope.titles.selected'
@@ -30,8 +30,8 @@
total=@model.totalItemsCount
}}
</Hds::Text::Body>
</div>
{{/if}}
{{/if}}
</div>
<Hds::Table
@columns={{array
(hash label=(t 'resources.project.title'))
+1
View File
@@ -1035,6 +1035,7 @@
.table-selected-items-text {
display: flex;
justify-content: end;
height: 1rem;
}
.hds-table {