Skip to content

Commit

Permalink
Fix overnuking of rounded corners. Fixes KelvinTegelaar#518.
Browse files Browse the repository at this point in the history
  • Loading branch information
homotechsual committed Jan 6, 2022
1 parent 56a4e2b commit 0a861f3
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
4 changes: 3 additions & 1 deletion src/components/Wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ export default class Wizard extends React.Component {
<>
<CButton type="submit" className="text-white" disabled={submitting}>
Submit
{submitting && <FontAwesomeIcon icon={faCircleNotch} spin size="1x" />}
{submitting && (
<FontAwesomeIcon icon={faCircleNotch} spin className="me-2" size="1x" />
)}
</CButton>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ $search-group-header-bg: #eeeeee;
// Quickly modify global styling by enabling or disabling optional features.

// $enable-caret: true !default;
$enable-rounded: false;
$enable-rounded: true;
$enable-shadows: true;
// $enable-gradients: false !default;
// $enable-transitions: true !default;
Expand Down
10 changes: 6 additions & 4 deletions src/views/cipp/CIPPSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const GeneralSettings = () => {
className="mt-3"
>
{permissionsResult.isFetching && (
<FontAwesomeIcon icon={faCircleNotch} spin size="1x" />
<FontAwesomeIcon icon={faCircleNotch} spin className="me-2" size="1x" />
)}
Run Permissions Check
</CButton>
Expand All @@ -186,7 +186,7 @@ const GeneralSettings = () => {
className="mt-3"
>
{clearCacheResult.isFetching && (
<FontAwesomeIcon icon={faCircleNotch} spin size="1x" />
<FontAwesomeIcon icon={faCircleNotch} spin className="me-2" size="1x" />
)}
Clear Cache
</CButton>
Expand Down Expand Up @@ -222,7 +222,7 @@ const GeneralSettings = () => {
<br />
<CButton onClick={() => handleCheckAccess()} disabled={accessCheckResult.isFetching}>
{accessCheckResult.isFetching && (
<FontAwesomeIcon icon={faCircleNotch} spin size="1x" />
<FontAwesomeIcon icon={faCircleNotch} spin className="me-2" size="1x" />
)}
Run access check
</CButton>
Expand Down Expand Up @@ -445,7 +445,9 @@ const NotificationsSettings = () => {
return (
<>
{notificationListResult.isUninitialized && listNotification()}
{notificationListResult.isFetching && <FontAwesomeIcon icon={faCircleNotch} spin size="1x" />}
{notificationListResult.isFetching && (
<FontAwesomeIcon icon={faCircleNotch} spin className="me-2" size="1x" />
)}
{!notificationListResult.isFetching && notificationListResult.error && (
<span>Error loading data</span>
)}
Expand Down
7 changes: 6 additions & 1 deletion src/views/identity/administration/AddUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,12 @@ const AddUser = () => {
<CButton type="submit" disabled={submitting || formDisabled}>
Edit User
{postResults.isFetching && (
<FontAwesomeIcon icon={faCircleNotch} spin size="1x" />
<FontAwesomeIcon
icon={faCircleNotch}
spin
className="me-2"
size="1x"
/>
)}
</CButton>
</CCol>
Expand Down
2 changes: 1 addition & 1 deletion src/views/identity/administration/EditUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ const EditUser = () => {
<CButton type="submit" disabled={submitting || formDisabled}>
Edit User
{postResults.isFetching && (
<FontAwesomeIcon icon={faCircleNotch} spin size="1x" />
<FontAwesomeIcon icon={faCircleNotch} spin className="me-2" size="1x" />
)}
</CButton>
</CCol>
Expand Down
2 changes: 1 addition & 1 deletion src/views/tenant/standards/IndividualDomain.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const IndividualDomainCheck = () => {
color="primary"
>
{isFetching && (
<FontAwesomeIcon icon={faCircleNotch} spin size="1x" className="mx-1" />
<FontAwesomeIcon icon={faCircleNotch} spin size="1x" className="me-2" />
)}
Check Domain
</CButton>
Expand Down

0 comments on commit 0a861f3

Please sign in to comment.