Skip to content

Commit

Permalink
Merge pull request #162 from edx/dsheraz/PROD-2535
Browse files Browse the repository at this point in the history
fix: style updates
  • Loading branch information
DawoudSheraz authored Oct 7, 2021
2 parents d05c1fd + 71322cf commit 6a14dea
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
14 changes: 5 additions & 9 deletions src/overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $darkCyan: #00262b;
}

.custom-table {
font-size: small;
font-size: smaller;
width: 100%;
th {
margin: 0;
Expand All @@ -32,8 +32,8 @@ $darkCyan: #00262b;
}

.sso-table {
font-size: small;
width: auto;
font-size: smaller;
th {
margin: 0;
padding: 0.5rem;
Expand All @@ -48,7 +48,6 @@ $darkCyan: #00262b;

.idv-table {
@extend .custom-table;
font-size: medium;

tr:last-child td {
border-bottom: none;
Expand All @@ -60,7 +59,7 @@ $darkCyan: #00262b;
}

.account-info {
font-size: large;
font-size: smaller;
width: auto;
border: none;
border-radius: 0;
Expand All @@ -84,13 +83,11 @@ $darkCyan: #00262b;

.account-actions {
border: 1px solid lightgray;
font-size: medium;
border-radius: 0.375rem;
}

.fbe-table {
@extend .sso-table;
font-size: medium;

tr:last-child th,
tr:last-child td {
Expand All @@ -101,15 +98,14 @@ $darkCyan: #00262b;
.certificate-info-table {
@extend .sso-table;
width: 100%;
font-size: large;
}

.course-summary-table {
@extend .certificate-info-table;
}

.course-runs-table {
font-size: small;
font-size: smaller;
width: 100%;
th {
margin: 0;
Expand All @@ -124,7 +120,7 @@ $darkCyan: #00262b;
}

.custom-expander-table {
font-size: small;
font-size: smaller;
margin-left: 10%;
th {
margin: 0;
Expand Down
3 changes: 2 additions & 1 deletion src/users/account-actions/v2/PasswordHistory.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ export default function PasswordHistory({
{passwordStatus.passwordToggleHistory.length > 0 && (
<Button
id="toggle-password-history"
variant="outline-primary ml-1"
variant="outline-primary"
onClick={() => openHistoryModal()}
className="mr-1 mb-2"
>
Show History
</Button>
Expand Down
3 changes: 2 additions & 1 deletion src/users/account-actions/v2/ResetPassword.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ export default function ResetPassword({
<div>
<Button
id="reset-password"
variant="btn btn-danger ml-1"
variant="btn btn-danger"
onClick={() => setResetPasswordModalIsOpen(true)}
className="mr-1 mb-2"
>Reset Password
</Button>

Expand Down
1 change: 1 addition & 0 deletions src/users/account-actions/v2/TogglePasswordStatus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default function TogglePasswordStatus({
id="toggle-password"
variant={`${passwordStatus.status === PASSWORD_STATUS.USABLE ? 'danger' : 'primary'}`}
onClick={() => setDisableUserModalIsOpen(true)}
className="mr-1 mb-2"
>
{passwordStatus.status === PASSWORD_STATUS.USABLE ? DISABLE_USER : ENABLE_USER}
</Button>
Expand Down

0 comments on commit 6a14dea

Please sign in to comment.