diff --git a/frontend/src/app/components/dashboard/db-table-widgets/db-table-widgets.component.css b/frontend/src/app/components/dashboard/db-table-widgets/db-table-widgets.component.css index b87bc2cef..f88fa9c1b 100644 --- a/frontend/src/app/components/dashboard/db-table-widgets/db-table-widgets.component.css +++ b/frontend/src/app/components/dashboard/db-table-widgets/db-table-widgets.component.css @@ -6,14 +6,25 @@ .header { display: flex; - align-items: center; justify-content: space-between; margin: 36px 70px 24px 0; } +.header-actions-box { + display: flex; + flex-direction: column; + align-items: flex-end; + gap: 16px; +} + .header-actions { display: flex; - gap: 20px; + gap: 16px; +} + +.header-links { + display: flex; + gap: 16px; } .empty-state { @@ -22,6 +33,11 @@ align-items: center; } +.empty-state__actions { + display: flex; + gap: 12px; +} + .widgets-hint { display: flex; flex-direction: column; diff --git a/frontend/src/app/components/dashboard/db-table-widgets/db-table-widgets.component.html b/frontend/src/app/components/dashboard/db-table-widgets/db-table-widgets.component.html index 32f005a3d..98311f3d3 100644 --- a/frontend/src/app/components/dashboard/db-table-widgets/db-table-widgets.component.html +++ b/frontend/src/app/components/dashboard/db-table-widgets/db-table-widgets.component.html @@ -5,22 +5,40 @@
-
- - +
@@ -62,12 +80,21 @@ Nothing will be changed in your data types, just better reflecting the nature of the data.

- +
+ + + Read what UI Widgets are + open_in_new + +
diff --git a/frontend/src/app/components/dashboard/db-table-widgets/widget/widget.component.css b/frontend/src/app/components/dashboard/db-table-widgets/widget/widget.component.css index 1e0b3a8ea..8f7c02808 100644 --- a/frontend/src/app/components/dashboard/db-table-widgets/widget/widget.component.css +++ b/frontend/src/app/components/dashboard/db-table-widgets/widget/widget.component.css @@ -4,12 +4,15 @@ word-break: break-all; } -/* ::ng-deep .CodeMirror { - border-radius: 4px; - border: 1px solid rgba(0, 0, 0, 0.34); - height: auto; - margin-bottom: 20px; - min-height: 78px; +.widget-type ::ng-deep .mat-mdc-form-field-hint-wrapper { + --mdc-outlined-button-container-height: 24px; + --mat-outlined-button-horizontal-padding: 12px; + + padding: 8px 4px; +} + +/* .widget-type__docs-link { + color: var(--color-accentedDarkPalette-500); } */ .code-editor-box { diff --git a/frontend/src/app/components/dashboard/db-table-widgets/widget/widget.component.html b/frontend/src/app/components/dashboard/db-table-widgets/widget/widget.component.html index 46eedb9e7..a23c2fe9e 100644 --- a/frontend/src/app/components/dashboard/db-table-widgets/widget/widget.component.html +++ b/frontend/src/app/components/dashboard/db-table-widgets/widget/widget.component.html @@ -11,15 +11,24 @@ - - Display type - - {{ widgetType }} - - +
+ + Display type + + {{ widgetType }} + + + + Docs + open_in_new + + + + +
Permissions for {{ group.title }} group
+

+ Permissions for {{ group.title }} group + + open_in_new + Docs + +

diff --git a/frontend/src/app/components/zapier/zapier.component.css b/frontend/src/app/components/zapier/zapier.component.css index b9331eb68..ab2ee1012 100644 --- a/frontend/src/app/components/zapier/zapier.component.css +++ b/frontend/src/app/components/zapier/zapier.component.css @@ -1,3 +1,10 @@ .zapier-page { + display: flex; + flex-direction: column; padding: 32px max(calc(50vw - 325px), 10%); +} + +.zapier-docs-button { + align-self: flex-end; + margin-bottom: -36px; } \ No newline at end of file diff --git a/frontend/src/app/components/zapier/zapier.component.html b/frontend/src/app/components/zapier/zapier.component.html index 191078da4..6abe9f909 100644 --- a/frontend/src/app/components/zapier/zapier.component.html +++ b/frontend/src/app/components/zapier/zapier.component.html @@ -1,4 +1,11 @@