diff --git a/frontend/src/app/components/connections-list/own-connections/own-connections.component.css b/frontend/src/app/components/connections-list/own-connections/own-connections.component.css index 2267c5e1b..632302e92 100644 --- a/frontend/src/app/components/connections-list/own-connections/own-connections.component.css +++ b/frontend/src/app/components/connections-list/own-connections/own-connections.component.css @@ -54,7 +54,7 @@ .addConnectionLink { display: flex; align-items: center; - gap: 8px; + gap: 6px; border-radius: 4px; box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), @@ -63,7 +63,7 @@ color: inherit; font-weight: 600; height: 48px; - padding-left: 4px; + padding-left: 6px; text-decoration: none; transition: box-shadow 200ms, background 200ms, border 200ms; } diff --git a/frontend/src/app/components/dashboard/dashboard.component.css b/frontend/src/app/components/dashboard/dashboard.component.css index e64944e3f..066b922fe 100644 --- a/frontend/src/app/components/dashboard/dashboard.component.css +++ b/frontend/src/app/components/dashboard/dashboard.component.css @@ -50,34 +50,12 @@ .toggle-button-position { display: flex; - justify-content: flex-end; - margin-bottom: -48px; + justify-content: center; margin-top: 24px; } -.toggle-button { - background-color: var(--mat-sidenav-content-background-color); - border-radius: 4px 0 0 4px !important; - color: inherit; - line-height: 24px; - min-width: 52px !important; - box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.1),0px 6px 8px 0px rgba(0, 0, 0, 0.07),0px 1px 8px 0px rgba(0, 0, 0, 0.06); -} - -.toggle-button::ng-deep .mat-button-wrapper { - padding: 0; -} - -.toggle-button::ng-deep .material-icons { - line-height: 22px; -} - -.toggle-button-position__opened::ng-deep .material-icons { - margin-left: -2px; -} - -.toggle-button-position__closed::ng-deep .material-icons { - margin-left: 2px; +.toggle-button_opened { + width: calc(100% - 32px); } .dashboard { diff --git a/frontend/src/app/components/dashboard/dashboard.component.html b/frontend/src/app/components/dashboard/dashboard.component.html index 428a6ee2f..64eefe018 100644 --- a/frontend/src/app/components/dashboard/dashboard.component.html +++ b/frontend/src/app/components/dashboard/dashboard.component.html @@ -47,20 +47,31 @@