Skip to content

Commit 1cede06

Browse files
committed
fix rolesets manual
1 parent b05dee9 commit 1cede06

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

client/src/components/WikiArticle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function RoleSetArticle(): ReactElement {
218218
<WikiStyledText>{"# "+translate("wiki.article.generated.roleSet.title")}</WikiStyledText>
219219
</section>
220220
<Masonry columnsCount={columnCount}>
221-
{ROLE_SETS.map(set => {
221+
{ROLE_SETS.filter(set=>set!=="any").map(set => {
222222
const description = translateChecked(`${set}.description`);
223223
return <div key={set} className="masonry-item">
224224
<PageCollection

client/src/components/wiki.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,11 @@
9999
text-align: left;
100100
}
101101
.wiki-cover-card, .anchor-cover-card .wiki-article {
102-
max-width: 50rem;
102+
width: 100%;
103+
}
104+
.wiki-cover-card {
105+
width: 80rem;
106+
min-height: 60vh;
103107
}
104108
.role-set-article .masonry-item {
105109
text-align: center;

client/src/menu/anchor.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@
8585
border-bottom-color: var(--background-border-shadow-color);
8686
overflow-y: hidden;
8787
box-shadow: 0 0 .5rem #0007;
88+
89+
max-width: 90vw;
90+
max-height: 90vh;
8891
}
8992

9093
.anchor-cover-card-content {

0 commit comments

Comments
 (0)