Browse Source
* Fixed inconsistent spacing between tabs and content when switching tabs on Settings and Mobile center pages * PR comments fixes * Unified tab-to-content spacing via shared tb-content-card class and spacing variables * Fixed PR comments * Fixed license headers * Fixed License page key card width and spacing --------- Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>pull/16641/head
committed by
GitHub
20 changed files with 115 additions and 128 deletions
@ -0,0 +1,50 @@ |
|||
// SPDX-FileCopyrightText: Copyright ThingsBoard, Inc. |
|||
// SPDX-License-Identifier: BUSL-1.1 |
|||
@import "constants"; |
|||
|
|||
:host { |
|||
display: block; |
|||
height: 100%; |
|||
width: 100%; |
|||
} |
|||
.tb-app-profiles-page { |
|||
display: flex; |
|||
flex-direction: column; |
|||
height: 100%; |
|||
min-height: 0; |
|||
} |
|||
.tb-app-profiles-page-quick-start { |
|||
flex: 0 0 auto; |
|||
display: grid; |
|||
grid-template-rows: 1fr; |
|||
margin: $tb-content-spacing $tb-content-spacing 0; |
|||
opacity: 1; |
|||
visibility: visible; |
|||
transition: grid-template-rows 400ms cubic-bezier(0.25, 0.8, 0.25, 1), |
|||
margin 400ms cubic-bezier(0.25, 0.8, 0.25, 1), |
|||
opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1), |
|||
visibility 0s linear 0s; |
|||
} |
|||
@media #{$mat-gt-sm} { |
|||
.tb-app-profiles-page-quick-start { |
|||
margin: $tb-content-spacing-gt-sm $tb-content-spacing-gt-sm 0; |
|||
} |
|||
} |
|||
.tb-app-profiles-page-quick-start.collapsed { |
|||
grid-template-rows: 0fr; |
|||
margin-top: 0; |
|||
opacity: 0; |
|||
pointer-events: none; |
|||
visibility: hidden; |
|||
transition: none; |
|||
} |
|||
.tb-app-profiles-page-quick-start-inner { |
|||
min-height: 0; |
|||
overflow: hidden; |
|||
} |
|||
.tb-app-profiles-page-table { |
|||
flex: 1 1 auto; |
|||
min-height: 0; |
|||
display: block; |
|||
position: relative; |
|||
} |
|||
Loading…
Reference in new issue