From 404ee696f09a98038ab0941ffb3ea916d0589695 Mon Sep 17 00:00:00 2001 From: RachelElysia <71795832+RachelElysia@users.noreply.github.com> Date: Mon, 20 Apr 2026 12:21:20 -0500 Subject: [PATCH] Fleet UI: Add padding to calendar instructions (#43777) --- .../cards/Calendars/Calendars.tsx | 137 +++++++++--------- .../cards/Calendars/_styles.scss | 12 +- 2 files changed, 78 insertions(+), 71 deletions(-) diff --git a/frontend/pages/admin/IntegrationsPage/cards/Calendars/Calendars.tsx b/frontend/pages/admin/IntegrationsPage/cards/Calendars/Calendars.tsx index a498260d0d..fdcf632cf9 100644 --- a/frontend/pages/admin/IntegrationsPage/cards/Calendars/Calendars.tsx +++ b/frontend/pages/admin/IntegrationsPage/cards/Calendars/Calendars.tsx @@ -301,64 +301,68 @@ const Calendars = ({ appConfig }: IAppConfigFormProps): JSX.Element => { work calendar.)
  • - Save your changes. - -
    - - - You can find your primary domain in Google Workspace{" "} - - - } - error={formErrors.domain} - disabled={gomEnabled} - /> -
    - ( - - )} +
    + Save your changes. + + + -
    - - + + You can find your primary domain in Google Workspace{" "} + + + } + error={formErrors.domain} + disabled={gomEnabled} + /> +
    + ( + + )} + /> +
    + + +
  • @@ -389,15 +393,16 @@ const Calendars = ({ appConfig }: IAppConfigFormProps): JSX.Element => { account.
  • - For the OAuth scopes, paste the following value: - +
    + For the OAuth scopes, paste the following value: + +
  • Click Authorize. diff --git a/frontend/pages/admin/IntegrationsPage/cards/Calendars/_styles.scss b/frontend/pages/admin/IntegrationsPage/cards/Calendars/_styles.scss index eb20bce4b7..62a70534db 100644 --- a/frontend/pages/admin/IntegrationsPage/cards/Calendars/_styles.scss +++ b/frontend/pages/admin/IntegrationsPage/cards/Calendars/_styles.scss @@ -19,10 +19,6 @@ margin: $pad-small 0; } - .card { - margin-top: $pad-small; - } - &__configuration { button { align-self: flex-end; @@ -36,12 +32,18 @@ font-size: $x-small; } + &__save-changes, + &__oauth-scopes { + @include vertical-form-layout; + padding-bottom: $pad-large; + } + #oauth-scopes { font-family: "SourceCodePro", $monospace; color: $core-fleet-black; min-height: 82px; + min-width: 100%; padding: $pad-medium; - padding-right: $pad-xxlarge; resize: none; }