Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Compact/Expand Lists responsive issues #3271

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion awx/ui/client/lib/components/layout/_index.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.at-Layout {
min-height: 100vh;
width: 100vw;
width: 100%;
display: flex;

&-topNav {
Expand Down
17 changes: 11 additions & 6 deletions awx/ui/client/lib/components/list/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,16 @@
.at-Row {
display: grid;
grid-template-columns: 10px 1fr;
overflow: hidden;
}

.at-Row--collapsed {
max-height: 50px;
.at-Row-container--wrapped {
visibility: hidden;
opacity: 0;
height: 0;
}
}

.at-Row--active {
border-left: @at-border-style-list-active-indicator;
border-top-left-radius: @at-border-radius;
Expand Down Expand Up @@ -212,6 +216,10 @@
.at-Row-container--wrapped {
display: flex;
flex-wrap: wrap;
visibility: visible;
opacity: 1;
height: auto;
transition: visibility 0s, opacity 0.25s linear;
}

.at-RowItem--isHeaderLink {
Expand Down Expand Up @@ -351,10 +359,7 @@
}

@media screen and (max-width: @at-breakpoint-compact-list) {
.at-Row--collapsed {
max-height: 60px;
}
.at-Row-actions {
.at-Row-actions {
align-items: center;
}

Expand Down