Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</div>
}

<section class="flex flex-column lg:flex-row bg-white flex-1 h-full p-5 gap-4 w-full overflow-auto wiki-page">
<section class="flex flex-column lg:flex-row lg:flex-wrap bg-white flex-1 p-5 gap-4 w-full wiki-page">
<osf-wiki-list
[viewOnly]="true"
[list]="wikiList()"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:host {
display: flex;
flex-direction: column;
height: 100%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ng-template #header>
<h2 class="mr-2">{{ 'project.wiki.compare' | translate }}</h2>
</ng-template>
<div class="flex align-items-center mb-2">
<div class="flex flex-wrap align-items-center mb-2 lg:flex-nowrap">
<span class="mr-2">Live preview to</span>
<p-select
[options]="mappedVersions()"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ng-template #header>
<h2 class="mr-2">{{ 'project.wiki.view' | translate }}</h2>
</ng-template>
<div class="flex align-items-center mb-4">
<div class="flex flex-wrap align-items-center mb-4 lg:flex-nowrap">
<span class="mr-2">{{ 'project.wiki.version.title' | translate }}:</span>
<p-select
[options]="mappedVersions()"
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/constants/files-limits.const.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const FILE_SIZE_LIMIT = 5 * 1024 * 1024 * 1024;
export const FILE_COUNT_ATTACHMENTS_LIMIT = 1;
export const FILE_COUNT_ATTACHMENTS_LIMIT = 5;
Loading