Fixes style bugs

parent 2ce254d3
......@@ -84,10 +84,6 @@
[value]="selectedKey?.value[langKey] || ''"></textarea>
</div>
</div>
<div class="col-12 d-flex align-items-end justify-content-end"
style="height: 40px;">
<span>Currently on branch: {{projectLoaderService.currentBranch}}</span>
</div>
</div>
<ng-template #loading><h4 class="text-light text-center mt-5">Loading...</h4></ng-template>
<div>
<div (scroll)="scrollHandler($event)"
class="overflow-auto"
class="overflow-auto position-relative"
style="height: calc(100vh - 200px);">
<div [style.height.px]="Math.max(0, Math.max(0, scrollPos - 10) * 40)"></div>
<div #langDataElement
......
......@@ -18,15 +18,15 @@ export class FilterKeysPipe implements PipeTransform {
case FILTER.INVALID_KEYS:
return value.filter(elem => this.hasEmptyKeys(elem));
case FILTER.INVALID_DE:
return value.filter(elem => this.hasEmptyKeysForLang(elem, 'de'));
return value.filter(elem => this.hasEmptyKeysForLang(elem, 'DE'));
case FILTER.INVALID_EN:
return value.filter(elem => this.hasEmptyKeysForLang(elem, 'en'));
return value.filter(elem => this.hasEmptyKeysForLang(elem, 'EN'));
case FILTER.INVALID_ES:
return value.filter(elem => this.hasEmptyKeysForLang(elem, 'es'));
return value.filter(elem => this.hasEmptyKeysForLang(elem, 'ES'));
case FILTER.INVALID_FR:
return value.filter(elem => this.hasEmptyKeysForLang(elem, 'fr'));
return value.filter(elem => this.hasEmptyKeysForLang(elem, 'FR'));
case FILTER.INVALID_IT:
return value.filter(elem => this.hasEmptyKeysForLang(elem, 'it'));
return value.filter(elem => this.hasEmptyKeysForLang(elem, 'IT'));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment