fixed article paragraph styling for real this time
This commit is contained in:
1 parent
29d7cdeb60
commit
98e179a334
2 files changed
+11
-8
No files matched your search
@@ -7,7 +7,7 @@ import {AuthService} from './shared/services/auth.service';
|
||||
import {AuthInterceptor} from './auth.interceptor';
|
||||
import {TranslateHttpLoader} from '@ngx-translate/http-loader';
|
||||
import {TranslateLoader, TranslateModule} from '@ngx-translate/core';
|
||||
import { provideMarkdown } from 'ngx-markdown';
|
||||
import {MARKED_OPTIONS, provideMarkdown} from 'ngx-markdown';
|
||||
|
||||
export function createTranslateLoader(http: HttpClient) {
|
||||
return new TranslateHttpLoader(http, '/i18n/', '.json');
|
||||
@@ -25,7 +25,14 @@ export const appConfig: ApplicationConfig = {
|
||||
),
|
||||
provideClientHydration(withEventReplay()),
|
||||
provideHttpClient(),
|
||||
provideMarkdown(),
|
||||
provideMarkdown({
|
||||
markedOptions: {
|
||||
provide: MARKED_OPTIONS,
|
||||
useValue: {
|
||||
breaks: true,
|
||||
},
|
||||
},
|
||||
}),
|
||||
AuthService,
|
||||
AuthInterceptor,
|
||||
importProvidersFrom(
|
||||
|
||||
@@ -47,8 +47,8 @@ h1 {
|
||||
}
|
||||
|
||||
.article-content p {
|
||||
margin: 0 auto;
|
||||
line-height: 1.3;
|
||||
margin: 0.7rem 0;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
@@ -58,10 +58,6 @@ h1 {
|
||||
margin: 25px 0;
|
||||
}
|
||||
|
||||
.article-meta p {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.article-buttons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in new issue
Block a user