Added UI scaling tickbox to options menu

This commit is contained in:
syntaxerror752 2020-05-29 21:28:26 +10:00
parent ca771eb04c
commit eb5ad7c6dc
4 changed files with 28 additions and 0 deletions

View File

@ -76,6 +76,16 @@
</a> </a>
</div> </div>
<small class="form-text text-muted">{{'enableGravatarsDesc' | i18n}}</small> <small class="form-text text-muted">{{'enableGravatarsDesc' | i18n}}</small>
</div>
<div class="form-group">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="enableUIScaling" name="enableUIScaling"
[(ngModel)]="enableUIScaling">
<label class="form-check-label" for="enableUIScaling">
{{'enableUIScaling' | i18n}}
</label>
</div>
<small class="form-text text-muted">{{'enableUIScalingDesc' | i18n}}</small>
</div> </div>
<button type="submit" class="btn btn-primary"> <button type="submit" class="btn btn-primary">
{{'save' | i18n}} {{'save' | i18n}}

View File

@ -1044,6 +1044,13 @@
"enableGravatarsDesc": { "enableGravatarsDesc": {
"message": "Use avatar images loaded from gravatar.com." "message": "Use avatar images loaded from gravatar.com."
}, },
"enableUIScaling": {
"message": "Enable UI Scaling",
"description": "Allows scaling the web vault UI's width"
},
"enableUIScalingDesc": {
"message": "Allows expanding the web vault view to fill the full width of the browser window."
},
"default": { "default": {
"message": "Default" "message": "Default"
}, },

View File

@ -1044,6 +1044,13 @@
"enableGravatarsDesc": { "enableGravatarsDesc": {
"message": "Use avatar images loaded from gravatar.com." "message": "Use avatar images loaded from gravatar.com."
}, },
"enableUIScaling": {
"message": "Enable UI Scaling",
"description": "Allows scaling the web vault UI's width"
},
"enableUIScalingDesc": {
"message": "Allows expanding the web vault view to fill the full width of the browser window."
},
"default": { "default": {
"message": "Default" "message": "Default"
}, },

View File

@ -192,6 +192,10 @@ input, select, textarea {
max-width: none !important; max-width: none !important;
margin: 0 auto; margin: 0 auto;
padding: 0; padding: 0;
&.full-width {
min-width: 980px;
width: 90%;
}
} }
.page-content { .page-content {