refactor: 💡 fix table density and remove desc margin (#2836)
This commit is contained in:
1 parent
6181df4c69
commit
96db738f4b
19 files changed
+18
-28
No files matched your search
@@ -57,7 +57,7 @@
|
||||
{{else}}
|
||||
{{B.data.displayName}}
|
||||
{{/if}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
@@ -110,7 +110,7 @@
|
||||
{{else}}
|
||||
{{B.data.displayName}}
|
||||
{{/if}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
@@ -152,7 +152,7 @@
|
||||
{{else}}
|
||||
{{B.data.accountName}}
|
||||
{{/if}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@
|
||||
<B.Tr>
|
||||
<B.Td>
|
||||
{{B.data.accountName}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
|
||||
@@ -105,7 +105,6 @@
|
||||
)
|
||||
(hash label=(t 'titles.actions'))
|
||||
}}
|
||||
@density='short'
|
||||
@valign='middle'
|
||||
>
|
||||
<:body as |B|>
|
||||
@@ -121,7 +120,7 @@
|
||||
{{else}}
|
||||
{{B.data.displayName}}
|
||||
{{/if}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
|
||||
@@ -62,7 +62,6 @@
|
||||
(hash label=(t 'form.type.label'))
|
||||
(hash label=(t 'form.id.label'))
|
||||
}}
|
||||
@density='short'
|
||||
@valign='middle'
|
||||
>
|
||||
<:body as |B|>
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
(hash label=(t 'form.name.label'))
|
||||
(hash label=(t 'form.id.label'))
|
||||
}}
|
||||
@density='short'
|
||||
@valign='middle'
|
||||
>
|
||||
<:body as |B|>
|
||||
@@ -68,7 +67,7 @@
|
||||
{{else}}
|
||||
{{B.data.displayName}}
|
||||
{{/if}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
{{B.data.displayName}}
|
||||
{{/if}}
|
||||
{{#if B.data.description}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
(hash label=(t 'resources.role.titles.grants-applied'))
|
||||
(hash label=(t 'form.id.label'))
|
||||
}}
|
||||
@density='short'
|
||||
@valign='middle'
|
||||
>
|
||||
<:body as |B|>
|
||||
@@ -65,7 +64,7 @@
|
||||
{{else}}
|
||||
{{B.data.displayName}}
|
||||
{{/if}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
|
||||
@@ -127,7 +127,6 @@
|
||||
{{#if @model.sessionRecordings}}
|
||||
<Hds::Table
|
||||
@model={{@model.sessionRecordings}}
|
||||
@density='tall'
|
||||
@columns={{array
|
||||
(hash label=(t 'resources.session-recording.form.time.label'))
|
||||
(hash label=(t 'resources.session-recording.form.status.label'))
|
||||
|
||||
-1
@@ -90,7 +90,6 @@
|
||||
{{#if connection.channel_recordings}}
|
||||
<Hds::Table
|
||||
@model={{connection.channel_recordings}}
|
||||
@density='tall'
|
||||
@columns={{array
|
||||
(hash
|
||||
label=(t
|
||||
|
||||
@@ -92,7 +92,6 @@
|
||||
}}
|
||||
@sortBy='status'
|
||||
@model={{@model.sessions}}
|
||||
@density='short'
|
||||
@valign='middle'
|
||||
>
|
||||
<:body as |B|>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
{{B.data.displayName}}
|
||||
{{/if}}
|
||||
{{#if B.data.description}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
|
||||
@@ -76,7 +76,6 @@
|
||||
(hash label=(t 'form.id.label'))
|
||||
}}
|
||||
@model={{@model.targets}}
|
||||
@density='short'
|
||||
@valign='middle'
|
||||
>
|
||||
<:body as |B|>
|
||||
@@ -93,7 +92,7 @@
|
||||
{{else}}
|
||||
{{B.data.displayName}}
|
||||
{{/if}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
|
||||
@@ -56,8 +56,8 @@
|
||||
{{else}}
|
||||
{{B.data.model.displayName}}
|
||||
{{/if}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
{{B.data.model.description}}
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
<B.Td>
|
||||
|
||||
+1
-1
@@ -70,7 +70,7 @@
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
(hash label=(t 'form.name.label'))
|
||||
(hash label=(t 'form.id.label'))
|
||||
}}
|
||||
@density='short'
|
||||
@valign='middle'
|
||||
>
|
||||
<:body as |B|>
|
||||
@@ -66,7 +65,7 @@
|
||||
{{#if B.data.accountName}}
|
||||
<br /><Hds::Badge @text={{B.data.accountName}} />
|
||||
{{/if}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
{{/if}}
|
||||
</Hds::Text::Body>
|
||||
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
</B.Td>
|
||||
|
||||
@@ -76,7 +76,6 @@
|
||||
(hash label=(t 'resources.worker.table.ip_address'))
|
||||
(hash label=(t 'form.id.label'))
|
||||
}}
|
||||
@density='short'
|
||||
@valign='middle'
|
||||
>
|
||||
<:body as |B|>
|
||||
@@ -93,7 +92,7 @@
|
||||
{{B.data.displayName}}
|
||||
{{/if}}
|
||||
{{#if B.data.description}}
|
||||
<Hds::Text::Body @tag='p' class='p'>
|
||||
<Hds::Text::Body @tag='p'>
|
||||
{{B.data.description}}
|
||||
</Hds::Text::Body>
|
||||
{{/if}}
|
||||
|
||||
Reference in new issue
Block a user