1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-01-10 04:07:35 +02:00

Fixing small ui bugs #587

This commit is contained in:
Patrik J. Braun 2023-08-25 22:02:04 +02:00
parent 839f399908
commit 5d69d225df
3 changed files with 7 additions and 3 deletions

View File

@ -6,6 +6,7 @@ import {Config} from '../../common/config/public/Config';
styles: [':host {line-height: 0}'],
template: `
<svg xmlns="http://www.w3.org/2000/svg"
style="vertical-align: baseline"
[attr.width]="width"
[attr.height]="height"
fill="currentcolor"

View File

@ -1,5 +1,5 @@
import {UserRoles} from '../../../common/entities/UserDTO';
import {ConfigPriority, MapProviders, NavigationLinkTypes} from '../../../common/config/public/ClientConfig';
import {ConfigPriority, MapProviders, NavigationLinkTypes, ScrollUpModes} from '../../../common/config/public/ClientConfig';
import {ReIndexingSensitivity} from '../../../common/config/private/PrivateConfig';
import {SortingMethods} from '../../../common/entities/SortingMethods';
import {SearchQueryTypes} from '../../../common/entities/SearchQueryDTO';
@ -27,6 +27,9 @@ EnumTranslations[ConfigPriority[ConfigPriority.basic]] = $localize`Basic`;
EnumTranslations[ConfigPriority[ConfigPriority.advanced]] = $localize`Advanced`;
EnumTranslations[ConfigPriority[ConfigPriority.underTheHood]] = $localize`Under the hood`;
EnumTranslations[ScrollUpModes[ScrollUpModes.always]] = $localize`Always`;
EnumTranslations[ScrollUpModes[ScrollUpModes.mobileOnly]] = $localize`Mobile only`;
EnumTranslations[ScrollUpModes[ScrollUpModes.never]] = $localize`Never`;
EnumTranslations[ConfigStyle[ConfigStyle.full]] = $localize`Full`;
EnumTranslations[ConfigStyle[ConfigStyle.compact]] = $localize`Compact`;

View File

@ -4,8 +4,8 @@
*ngIf="Title">{{Title}}</div>
<div [class.dim-controls]="controllersDimmed"
class="controls controls-top pt-1">
<div class="controls-background rounded-start-bottom pe-1">
class="controls controls-top">
<div class="controls-background rounded-start-bottom pe-1 pt-1">
<div class="highlight control-button" (click)="toggleInfoPanel.emit()"
title="info key: i" i18n-title>
<ng-icon class="align-top" size="1.2em" name="ionInformationOutline"></ng-icon>