Skip to content

Commit ff5b695

Browse files
authored
Help: Reuse design language in plugin cards (#1653)
1 parent 63220ae commit ff5b695

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

assets/css/activitypub-admin.css

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ input.blog-user-identifier {
280280
.contextual-help-tabs-wrap .activitypub-block-screenshot img {
281281
border: 1px solid #ddd;
282282
border-radius: 4px;
283-
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
283+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
284284
height: auto;
285285
max-width: 100%;
286286
}
@@ -321,6 +321,27 @@ input.blog-user-identifier {
321321
}
322322

323323
/* Plugin List Styles */
324+
.plugin-list {
325+
display: flex;
326+
flex-wrap: wrap;
327+
gap: 16px;
328+
align-items: stretch;
329+
}
330+
331+
.plugin-list .plugin-card {
332+
flex: 1 1 300px;
333+
display: flex;
334+
flex-direction: column;
335+
box-sizing: border-box;
336+
border-radius: 4px;
337+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
338+
margin: 0;
339+
}
340+
341+
.plugin-list .plugin-card .desc {
342+
flex: 1 1 auto;
343+
}
344+
324345
.plugin-list .plugin-action-buttons li {
325346
margin: 0 0 10px 0;
326347
}

templates/emails/new-follower.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
background: #fff;
1919
border-radius: 8px;
2020
overflow: hidden;
21-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
21+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
2222
}
2323
.card-header {
2424
width: 100%;

0 commit comments

Comments
 (0)