Skip to content

Commit

Permalink
Fix: modal advanced variant scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
abder committed Oct 17, 2024
1 parent ee3fe97 commit 0a05b92
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

@include modifier(advanced) {
@include modifies-element(body) {
overflow-y: scroll;
overflow-y: auto;
}
}
}
Expand Down
51 changes: 16 additions & 35 deletions packages/assets/css/src/scss/_utils/_tokens.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@

// Do not edit directly
// Generated on Tue, 15 Oct 2024 03:22:11 GMT
// Generated on Thu, 17 Oct 2024 15:09:03 GMT

$accordion-border-radius-sm: 10px;
$advanced-banner-background: linear-gradient(
90deg,
#222 0%,
#383323 48.96%,
#514524 100%
);
$advanced-banner-background: linear-gradient(90deg, #222 0%, #383323 48.96%, #514524 100%);
$advanced-banner-size-width: 260px;
$avatar-container-size-sm: 24px;
$avatar-container-size-md: 32px;
Expand Down Expand Up @@ -303,10 +299,10 @@ $border-width-md: 2px;
$border-width-xl: 4px;
$border-radius-xs: 3px;
$border-radius-sm: 4px;
$border-radius-md: 4px * 2;
$border-radius-lg: 4px * 3;
$border-radius-xl: 4px * 4;
$border-radius-2xl: 4px * 5;
$border-radius-md: 4px*2;
$border-radius-lg: 4px*3;
$border-radius-xl: 4px*4;
$border-radius-2xl: 4px*5;
$border-radius-default: 6px;
$font-weight-sm: 400;
$font-weight-md: 500;
Expand All @@ -332,8 +328,7 @@ $font-spacing-md: 0.2px;
$font-spacing-lg: 0.5px;
$font-spacing-2xl: 1px;
$font-spacing-default: 0px;
$font-family-default: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
$font-family-default: "Roboto",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
$font-family-code: "Roboto Mono", monospace;
$dashboard-size-width-lg: 440px;
$datepicker-font-size: 14px-1px;
Expand Down Expand Up @@ -390,7 +385,7 @@ $input-font-height-sm: 16px;
$input-font-height-md: 24px;
$input-spacing-padding-vertical-sm: 8px;
$input-spacing-padding-vertical-md: 8px;
$input-spacing-padding-horizontal-sm: 4px * 3;
$input-spacing-padding-horizontal-sm: 4px*3;
$input-spacing-padding-horizontal-md: 16px;
$input-spacing-lg: 44px;
$input-border-width-sm: 1px;
Expand All @@ -409,9 +404,9 @@ $integration-disabled-opacity: 0.5;
$layout-content-width: 1600px;
$layout-spacing-main-sm: -20px;
$layout-spacing-main-md: -10px;
$layout-spacing-content-sm: 8px * 2;
$layout-spacing-content-md: 8px * 3;
$layout-spacing-content-lg: 8px * 4;
$layout-spacing-content-sm: 8px*2;
$layout-spacing-content-md: 8px*3;
$layout-spacing-content-lg: 8px*4;
$menu-spacing-horizontal: 24px;
$modal-spacing-lg: 40px;
$modal-border-radius: 24px;
Expand Down Expand Up @@ -511,11 +506,7 @@ $selector-size-width-md: 130px;
$selector-size-width-lg: 208px;
$sidebar-spacing-md: 12px;
$sidebar-size-width-md: 260px;
$skeleton-background: linear-gradient(
93.77deg,
$color-extended-neutral-80 -10.31%,
#f5f5f5 -4.92%
);
$skeleton-background: linear-gradient(93.77deg, $color-extended-neutral-80 -10.31%, #f5f5f5 -4.92%);
$skeleton-height: 18px;
$skeleton-animation: skeleton-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
$spinner-size-height-lg: 36px;
Expand Down Expand Up @@ -554,7 +545,7 @@ $tabs-navitem-spacing-vertical: 26px;
$tabs-navitem-spacing-horizontal: 16px;
$tabs-navitem-gap: 4px;
$tabs-navitem-border-width: 4px;
$tabs-panel-spacing: 16px * 2;
$tabs-panel-spacing: 16px*2;
$tabs-color-active: #0059ff;
$tabs-color-hover: #0059ff;
$tabs-color-focus-border-color: #0059ff;
Expand All @@ -566,18 +557,8 @@ $tabs-arrow-size-height: 100%;
$tabs-arrow-color: #aaaaaa;
$tabs-arrow-hover-color: #1a1a1a;
$tabs-arrow-hover-background: #ffffff;
$tabs-arrow-left-background: linear-gradient(
90deg,
#fff 0%,
#fff 71.63%,
rgba(248, 248, 248, 0) 100%
);
$tabs-arrow-right-background: linear-gradient(
270deg,
#fff 0%,
#fff 71.63%,
rgba(248, 248, 248, 0) 100%
);
$tabs-arrow-left-background: linear-gradient(90deg, #FFF 0%, #FFF 71.63%, rgba(248, 248, 248, 0.00) 100%);
$tabs-arrow-right-background: linear-gradient(270deg, #FFF 0%, #FFF 71.63%, rgba(248, 248, 248, 0.00) 100%);
$tag-font-size-sm: 10px;
$tag-font-size-md: 12px;
$tag-font-spacing-sm: -0.1px;
Expand Down

0 comments on commit 0a05b92

Please sign in to comment.