Skip to content

Commit 9d41efe

Browse files
committed
Webui: Fix webapps card alignment
1 parent 41373f1 commit 9d41efe

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

web/css/styles.min.css

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,13 +1117,14 @@ form#vstobjects .alert {
11171117
}
11181118

11191119
.app-list.cards {
1120-
xdisplay: flex;
1121-
xflex-wrap: wrap;
1122-
align-content: center;
1123-
margin-bottom: 10rem;
1124-
1120+
display: flex;
1121+
flex-wrap: wrap;
1122+
justify-content: center;
11251123
}
11261124

1125+
.app-form {
1126+
padding:2em 1em 2em 1em;
1127+
}
11271128

11281129
.card {
11291130
float:left;
@@ -1133,8 +1134,7 @@ form#vstobjects .alert {
11331134
box-sizing: border-box;
11341135
width:200px;
11351136
min-height:260px;
1136-
margin-top:3em;
1137-
margin-right:4em;
1137+
margin:1em;
11381138
padding-bottom: 0.5em;
11391139
box-shadow: 0px 1px 4px rgba(0,0,0,0.2);
11401140
color: #353535;
@@ -1151,13 +1151,6 @@ form#vstobjects .alert {
11511151
opacity: 0.3;
11521152
}
11531153

1154-
.card:nth-child(4n+1) {
1155-
clear:left;
1156-
}
1157-
.card:nth-child(4n) {
1158-
margin-right:0;
1159-
}
1160-
11611154
.card .card-details {
11621155
font-size: 0.8rem;
11631156
padding: 0.5em 0.8em;

0 commit comments

Comments
 (0)