Skip to content

Commit

Permalink
feat(octra): new line option for text converter
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoemp committed Oct 23, 2024
1 parent 0449311 commit e670ad9
Show file tree
Hide file tree
Showing 98 changed files with 4,137 additions and 3,885 deletions.
17 changes: 5 additions & 12 deletions apps/octra/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,11 @@
</header>
<main style="margin-top: 40px">
@if (environment.dev_version) {
<div
class="d-none d-md-block beta_mark text-outline-white"
>
in development
</div>
}
@if (environment.beta_version) {
<div
class="d-none d-md-block beta_mark text-outline-white"
>
beta
</div>
<div class="d-none d-md-block beta_mark text-outline-white">
in development
</div>
} @if (environment.beta_version) {
<div class="d-none d-md-block beta_mark text-outline-white">beta</div>
}
<div class="container-fluid flex">
<router-outlet></router-outlet>
Expand Down
2 changes: 1 addition & 1 deletion apps/octra/src/app/app.transloco.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class TranslocoHttpLoader implements TranslocoLoader {
fallbackLang: 'en',
missingHandler: {
// It will use the first language set in the `fallbackLang` property
useFallbackTranslation: true
useFallbackTranslation: true,
},
prodMode: environment.production,
reRenderOnLangChange: true,
Expand Down
30 changes: 15 additions & 15 deletions apps/octra/src/app/core/component/alert/alert.component.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
@for (toast of alertService.queue; track toast) {
<ngb-toast
[ngClass]="{
'bg-danger text-light': toast.type === 'danger',
'bg-success text-light': toast.type === 'success',
'bg-warning text-dark': toast.type === 'warning'
}"
(mouseenter)="toast.autohide = false"
(mouseleave)="toast.autohide = true"
(hide)="toast.autohide = true"
[autohide]="toast.autohide"
[delay]="toast.duration"
(hidden)="alertService.closeAlert(toast.id)"
>
{{ toast.message }}
</ngb-toast>
<ngb-toast
[ngClass]="{
'bg-danger text-light': toast.type === 'danger',
'bg-success text-light': toast.type === 'success',
'bg-warning text-dark': toast.type === 'warning'
}"
(mouseenter)="toast.autohide = false"
(mouseleave)="toast.autohide = true"
(hide)="toast.autohide = true"
[autohide]="toast.autohide"
[delay]="toast.duration"
(hidden)="alertService.closeAlert(toast.id)"
>
{{ toast.message }}
</ngb-toast>
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:host {
position: absolute;
margin-top:40px;
margin-top: 40px;
top: 0;
right: 0;
z-index: 10000;
Expand Down
Loading

0 comments on commit e670ad9

Please sign in to comment.