Improve trends layout (#7700)
* Allow collapsing trends, responsively hide trends * Add trends column
This commit is contained in:
parent
69b45350fe
commit
73c0c36e7b
8 changed files with 124 additions and 8 deletions
|
@ -2178,8 +2178,7 @@ a.account__display-name {
|
|||
}
|
||||
|
||||
.getting-started__wrapper {
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.flex-spacer {
|
||||
|
@ -2187,7 +2186,6 @@ a.account__display-name {
|
|||
}
|
||||
|
||||
.getting-started {
|
||||
flex: 1 0 auto;
|
||||
color: $dark-text-color;
|
||||
|
||||
p {
|
||||
|
@ -2228,7 +2226,23 @@ a.account__display-name {
|
|||
|
||||
&__trends {
|
||||
background: $ui-base-color;
|
||||
flex: 1 1 auto;
|
||||
flex: 0 1 auto;
|
||||
|
||||
@media screen and (max-height: 810px) {
|
||||
.trends__item:nth-child(3) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 720px) {
|
||||
.trends__item:nth-child(2) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 670px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__scrollable {
|
||||
|
@ -2460,8 +2474,10 @@ a.status-card {
|
|||
line-height: inherit;
|
||||
margin: 0;
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
background: lighten($ui-base-color, 2%);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue