Skip to content

Commit ac22afc

Browse files
authored
Merge pull request #1443 from ASU/ws2-2190
fix(app-webdir-ui): fix grid profile squishing on 50% layout
2 parents 2c9b922 + ee345ae commit ac22afc

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

packages/app-webdir-ui/src/WebDirectoryComponent/index.styles.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ const WebDirLayout = styled.div`
1111
"results results";
1212
grid-column-gap: 100px;
1313
14+
.uds-grid > .row {
15+
gap: 1rem;
16+
& > div {
17+
flex: 0 0 282px;
18+
}
19+
}
20+
1421
.sort {
1522
grid-area: sort;
1623
}
@@ -37,6 +44,12 @@ const WebDirLayout = styled.div`
3744
const FacultyRankLayout = styled.div`
3845
display: flex;
3946
flex-wrap: wrap;
47+
.uds-grid > .row {
48+
gap: 1rem;
49+
& > div {
50+
flex: 0 0 282px;
51+
}
52+
}
4053
.view-toggle {
4154
width: 100%;
4255
justify-content: flex-start;

packages/app-webdir-ui/src/helpers/Filter/index.styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import styled from "styled-components";
22

33
export const FilterContainer = styled.fieldset`
4-
width: 100%;
4+
width: 85%;
55
margin: 0 0 2rem 0;
66
77
.choices-wrapper {

0 commit comments

Comments
 (0)