UX: fix solo preference page layout (#21012)

This commit is contained in:
Kris 2023-04-07 08:55:32 -04:00 committed by GitHub
parent 9117ea0e3f
commit 18470c9195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<DModalBody> <DModalBody>
<section <section
class="user-preferences solo-preference second-factor-backup-preferences" class="user-content user-preferences solo-preference second-factor-backup-preferences"
> >
<form class="form-horizontal"> <form class="form-horizontal">
{{#if this.successMessage}} {{#if this.successMessage}}

View File

@ -1,5 +1,5 @@
<DSection @pageClass="user-preferences" @tagName=""> <DSection @pageClass="user-preferences" @tagName="">
<section class="user-preferences solo-preference"> <section class="user-content user-preferences solo-preference">
<form class="form-horizontal"> <form class="form-horizontal">
<div class="control-group"> <div class="control-group">

View File

@ -1,5 +1,5 @@
<DSection @pageClass="user-preferences" @tagName=""> <DSection @pageClass="user-preferences" @tagName="">
<section class="user-preferences solo-preference second-factor"> <section class="user-content user-preferences solo-preference second-factor">
<ConditionalLoadingSpinner @condition={{this.loading}}> <ConditionalLoadingSpinner @condition={{this.loading}}>
<form class="form-horizontal"> <form class="form-horizontal">
{{#if this.showEnforcedNotice}} {{#if this.showEnforcedNotice}}

View File

@ -196,6 +196,11 @@
padding: 0; padding: 0;
margin: 1em 0; margin: 1em 0;
} }
.solo-preference {
grid-column-start: 1;
grid-column-end: -1;
}
} }
.user-preferences-tracking-page { .user-preferences-tracking-page {