Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { providePrimeNG } from 'primeng/config';
import { provideHttpClient, withInterceptors } from '@angular/common/http';
import { ApplicationConfig, ErrorHandler, importProvidersFrom, provideZoneChangeDetection } from '@angular/core';
import { provideAnimations } from '@angular/platform-browser/animations';
import { provideRouter } from '@angular/router';
import { provideRouter, withInMemoryScrolling } from '@angular/router';

import { STATES } from '@core/constants';
import { APPLICATION_INITIALIZATION_PROVIDER } from '@core/factory/application.initialization.factory';
Expand All @@ -24,7 +24,7 @@ import * as Sentry from '@sentry/angular';
export const appConfig: ApplicationConfig = {
providers: [
provideZoneChangeDetection({ eventCoalescing: true }),
provideRouter(routes),
provideRouter(routes, withInMemoryScrolling({ scrollPositionRestoration: 'enabled', anchorScrolling: 'enabled' })),
provideStore(STATES, withNgxsReduxDevtoolsPlugin({ disabled: false })),
providePrimeNG({
theme: {
Expand Down
4 changes: 0 additions & 4 deletions src/app/core/components/footer/footer.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
color: var(--dark-blue-1);
padding: 0 1.5rem;

.separator {
margin: 0 mix.rem(6px);
}

a {
color: var(--dark-blue-1);
text-align: center;
Expand Down
5 changes: 3 additions & 2 deletions src/app/core/components/header/header.component.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<header class="header flex align-items-center justify-content-between">
<osf-breadcrumb />

<div class="header-dropdown-button ml-auto">
<div class="header-dropdown-button">
@if (currentUser()) {
<p-button
class="link-btn-no-padding"
icon="fas fa-chevron-down"
iconPos="right"
variant="text"
Expand All @@ -14,7 +15,7 @@

<p-menu appendTo="body" #menu [model]="items" popup>
<ng-template #item let-item>
<a class="p-menu-item-link">{{ item.label | translate }}</a>
<a class="p-menu-item-link w-8rem">{{ item.label | translate }}</a>
</ng-template>
</p-menu>
} @else {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="home-container xl:mt-6" [class.medium]="isMedium()">
<section class="home-container flex-1 xl:mt-6" [class.medium]="isMedium()">
@if (areProjectsLoading()) {
<osf-loading-spinner />
} @else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2>{{ 'navigation.files' | translate }}</h2>
[storage]="currentRootFolder()"
[isLoading]="isFilesLoading() || isStorageLoading"
[actions]="filesTreeActions"
[resourceId]="this.selectedRoot!"
[resourceId]="selectedRoot!"
[provider]="provider()"
(entryFileClicked)="navigateToFile($event)"
(filesPageChange)="onFilesPageChange($event)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ <h2>20. CONTACTING US</h2>
</p>
<p>
Version history for this policy is available
<a href="https://github.com/CenterForOpenScience/cos.io/blob/master/PRIVACY_POLICY.md">here</a>
<a href="https://github.com/CenterForOpenScience/cos.io/blob/master/PRIVACY_POLICY.md">here</a>.
</p>
</section>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ <h2>24. QUESTIONS</h2>
</p>
<p>
Version history for this policy is available
<a href="https://github.com/CenterForOpenScience/centerforopenscience.org/blob/master/TERMS_OF_USE.md">here</a>
<a href="https://github.com/CenterForOpenScience/centerforopenscience.org/blob/master/TERMS_OF_USE.md">here</a>.
</p>
</section>
</div>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section class="google-file-picker-container" [class.file-picker]="this.isFolderPicker()">
@if (this.isFolderPicker()) {
<div local-class="action-container">
<section class="google-file-picker-container" [class.file-picker]="isFolderPicker()">
@if (isFolderPicker()) {
<div class="action-container">
<p-button
[label]="'settings.addons.configureAddon.google-file-picker.select-root-folder' | translate"
class="authorize-button"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@if (!this.searchControlInput()) {
@if (!searchControlInput()) {
<div class="mx-3 md:mx-4">
<osf-search-input
[control]="searchControl"
Expand Down
Loading