diff --git a/.gitignore b/.gitignore index 14735c6..5ee4bd7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules .discourse-site +.eslintcache diff --git a/Gemfile.lock b/Gemfile.lock index 1db95ff..db51f34 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,14 +1,14 @@ GEM remote: https://rubygems.org/ specs: - activesupport (8.0.3) + activesupport (8.1.2) base64 - benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + json logger (>= 1.4.2) minitest (>= 5.1) securerandom (>= 0.3) @@ -16,29 +16,29 @@ GEM uri (>= 0.13.1) ast (2.4.3) base64 (0.3.0) - benchmark (0.4.1) - bigdecimal (3.3.0) - concurrent-ruby (1.3.5) - connection_pool (2.5.4) + bigdecimal (4.0.1) + concurrent-ruby (1.3.6) + connection_pool (3.0.2) drb (2.2.3) - i18n (1.14.7) + i18n (1.14.8) concurrent-ruby (~> 1.0) - json (2.15.1) + json (2.18.0) language_server-protocol (3.17.0.5) lint_roller (1.1.0) logger (1.7.0) - minitest (5.26.0) + minitest (6.0.1) + prism (~> 1.5) parallel (1.27.0) - parser (3.3.9.0) + parser (3.3.10.1) ast (~> 2.4.1) racc prettier_print (1.2.1) - prism (1.5.1) + prism (1.9.0) racc (1.8.1) - rack (3.2.3) + rack (3.2.4) rainbow (3.1.1) regexp_parser (2.11.3) - rubocop (1.81.1) + rubocop (1.84.0) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -46,37 +46,39 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.47.1, < 2.0) + rubocop-ast (>= 1.49.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.47.1) + rubocop-ast (1.49.0) parser (>= 3.3.7.2) - prism (~> 1.4) + prism (~> 1.7) rubocop-capybara (2.22.1) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) - rubocop-discourse (3.13.3) + rubocop-discourse (3.14.0) activesupport (>= 6.1) lint_roller (>= 1.1.0) - rubocop (>= 1.73.2) rubocop-capybara (>= 2.22.0) + rubocop-discourse-base (>= 1.0.0) rubocop-factory_bot (>= 2.27.0) rubocop-rails (>= 2.30.3) rubocop-rspec (>= 3.0.1) rubocop-rspec_rails (>= 2.31.0) - rubocop-factory_bot (2.27.1) + rubocop-discourse-base (1.0.0) + rubocop (>= 1.80.0) + rubocop-factory_bot (2.28.0) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) - rubocop-rails (2.33.4) + rubocop-rails (2.34.3) activesupport (>= 4.2.0) lint_roller (~> 1.1) rack (>= 1.1) rubocop (>= 1.75.0, < 2.0) rubocop-ast (>= 1.44.0, < 2.0) - rubocop-rspec (3.7.0) + rubocop-rspec (3.9.0) lint_roller (~> 1.1) - rubocop (~> 1.72, >= 1.72.1) - rubocop-rspec_rails (2.31.0) + rubocop (~> 1.81) + rubocop-rspec_rails (2.32.0) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) rubocop-rspec (~> 3.5) @@ -88,8 +90,8 @@ GEM concurrent-ruby (~> 1.0) unicode-display_width (3.2.0) unicode-emoji (~> 4.1) - unicode-emoji (4.1.0) - uri (1.0.4) + unicode-emoji (4.2.0) + uri (1.1.1) PLATFORMS arm64-darwin-23 @@ -100,4 +102,4 @@ DEPENDENCIES syntax_tree BUNDLED WITH - 2.7.2 + 4.0.4 diff --git a/common/common.scss b/common/common.scss index d122857..10a5f65 100644 --- a/common/common.scss +++ b/common/common.scss @@ -92,8 +92,8 @@ .topic-list-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); - grid-column-gap: 5px; - grid-row-gap: 5px; + column-gap: 5px; + row-gap: 5px; border: 0; } @@ -205,8 +205,8 @@ .topic-list-body { display: grid; grid-template-columns: repeat(auto-fill, minmax(30%, 1fr)); - grid-column-gap: 1.5em; - grid-row-gap: 1.5em; + column-gap: 1.5em; + row-gap: 1.5em; border: 0; } @@ -341,8 +341,8 @@ .topic-list-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(48%, 1fr)); - grid-column-gap: 1.5em; - grid-row-gap: 1.5em; + column-gap: 1.5em; + row-gap: 1.5em; border: 0; } diff --git a/javascripts/discourse/connectors/before-topic-list-body/topic-list-masonry-styles.gjs b/javascripts/discourse/connectors/before-topic-list-body/topic-list-masonry-styles.gjs index 15e96cd..a45fcdc 100644 --- a/javascripts/discourse/connectors/before-topic-list-body/topic-list-masonry-styles.gjs +++ b/javascripts/discourse/connectors/before-topic-list-body/topic-list-masonry-styles.gjs @@ -53,9 +53,7 @@ export default class TopicListMasonryStyles extends Component {