From 0ef6d3a77abd627983eb9c1dc6013266c78ba7de Mon Sep 17 00:00:00 2001 From: TaufeqRazakh Date: Thu, 21 Dec 2023 21:15:20 +0530 Subject: [PATCH] Some division fixes, actions ruby version update --- .github/workflows/add_publication.yml | 2 +- .tool-versions | 2 +- assets/vendor/bootstrap/scss/_variables.scss | 14 +++++++------- scripts/Gemfile.lock | 12 ++++++++---- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/add_publication.yml b/.github/workflows/add_publication.yml index 893c26b..da3daf0 100644 --- a/.github/workflows/add_publication.yml +++ b/.github/workflows/add_publication.yml @@ -26,7 +26,7 @@ jobs: # uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a with: - ruby-version: 2.6 + ruby-version: 3.1 - name: Install dependencies run: bundle install --gemfile scripts/Gemfile - name: Add publication to page diff --git a/.tool-versions b/.tool-versions index a2e7782..306ab33 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -ruby 3.0.2 +ruby 3.1.4 diff --git a/assets/vendor/bootstrap/scss/_variables.scss b/assets/vendor/bootstrap/scss/_variables.scss index 0a260b9..e0e64d3 100644 --- a/assets/vendor/bootstrap/scss/_variables.scss +++ b/assets/vendor/bootstrap/scss/_variables.scss @@ -299,7 +299,7 @@ $h4-font-size: $font-size-base * 1.5 !default; $h5-font-size: $font-size-base * 1.25 !default; $h6-font-size: $font-size-base !default; -$headings-margin-bottom: $spacer / 2 !default; +$headings-margin-bottom: $spacer * 0.5 !default; $headings-font-family: null !default; $headings-font-weight: 500 !default; $headings-line-height: 1.2 !default; @@ -495,7 +495,7 @@ $input-height-border: $input-border-width * 2 !default; $input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default; $input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default; -$input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y / 2) !default; +$input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y * 0.5) !default; $input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default; $input-height-sm: add($input-line-height-sm * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default; @@ -565,7 +565,7 @@ $custom-radio-indicator-border-radius: 50% !default; $custom-radio-indicator-icon-checked: url("data:image/svg+xml,") !default; $custom-switch-width: $custom-control-indicator-size * 1.75 !default; -$custom-switch-indicator-border-radius: $custom-control-indicator-size / 2 !default; +$custom-switch-indicator-border-radius: $custom-control-indicator-size * 0.5 !default; $custom-switch-indicator-size: subtract($custom-control-indicator-size, $custom-control-indicator-border-width * 4) !default; $custom-select-padding-y: $input-padding-y !default; @@ -710,12 +710,12 @@ $nav-pills-link-active-color: $component-active-color !default; $nav-pills-link-active-bg: $component-active-bg !default; $nav-divider-color: $gray-200 !default; -$nav-divider-margin-y: $spacer / 2 !default; +$nav-divider-margin-y: $spacer * 0.5 !default; // Navbar -$navbar-padding-y: $spacer / 2 !default; +$navbar-padding-y: $spacer * 0.5 !default; $navbar-padding-x: $spacer !default; $navbar-nav-link-padding-x: .5rem !default; @@ -724,7 +724,7 @@ $navbar-brand-font-size: $font-size-lg !default; // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default; $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default; -$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default; +$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * 0.5 !default; $navbar-toggler-padding-y: .25rem !default; $navbar-toggler-padding-x: .75rem !default; @@ -844,7 +844,7 @@ $card-bg: $white !default; $card-img-overlay-padding: 1.25rem !default; -$card-group-margin: $grid-gutter-width / 2 !default; +$card-group-margin: $grid-gutter-width * 0.5 !default; $card-deck-margin: $card-group-margin !default; $card-columns-count: 3 !default; diff --git a/scripts/Gemfile.lock b/scripts/Gemfile.lock index 1c331ef..d7c31cd 100644 --- a/scripts/Gemfile.lock +++ b/scripts/Gemfile.lock @@ -1,9 +1,13 @@ GEM remote: https://rubygems.org/ specs: - mini_portile2 (2.4.0) - nokogiri (1.10.10) - mini_portile2 (~> 2.4.0) + mini_portile2 (2.8.5) + nokogiri (1.15.5) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + nokogiri (1.15.5-x86_64-linux) + racc (~> 1.4) + racc (1.7.3) PLATFORMS ruby @@ -13,4 +17,4 @@ DEPENDENCIES nokogiri (~> 1.10) BUNDLED WITH - 2.2.2 + 2.3.26