active_frontend 16.2.0 → 16.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18f082396a23bef9efc98e2d1e003f5ca6066a2b3b7659ac686c06a2c829493a
4
- data.tar.gz: dc005e66664f06274a73dd89c3ef7decba68b39333b5c3734c90a3089b74f901
3
+ metadata.gz: e02cc189b83767af669e0eb98c7f73dd727f3b7f911900bcaf184992989be23e
4
+ data.tar.gz: bee683e8ec7007fa4b3482ae8896bada7a6b11ece08609ddb7ad75b2a996d289
5
5
  SHA512:
6
- metadata.gz: bb4ee4734bf127add30163f26762eaf55e7c32b61f1d63f44e633f9e4bdc9c10603ee5f770b9254c2e0fbc0b29da59f80bc2fb2230cd975df6101c833f4c0418
7
- data.tar.gz: 0b7c3c5da8760d8fe7633671d3f96cb6d1c836a9005e72f7433b74f672bb3d6ace99be8acf3427d9d38d5a90d1e709a8942522b65672167e9a117d860fc2527a
6
+ metadata.gz: 6a12d82f1e80b43b9e6ca8bcaa5d67253a1d04c86a382aad2a27234d778de9791c0104c1158e8ba4ec3b2af18fb73170a7f77c567464da2d2cc886fbce345643
7
+ data.tar.gz: 8b46d07611d18f8e8b40f13b4ea05a7937de803e9bb33b4493b57fc3e585810c7cca916eee55b6d26f1634250b8690980ac8eb152b5db2e07c99e5120c16a4be
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveFrontend
4
- VERSION ||= '16.2.0'
4
+ VERSION ||= '16.2.1'
5
5
  end
@@ -36,6 +36,11 @@
36
36
 
37
37
  @return $width - 1px;
38
38
  }
39
+ @function breakpoint-half-width($size) {
40
+ $width: breakpoint-min-width($size);
41
+
42
+ @return $width / 2;
43
+ }
39
44
  @function text-color-on($color) {
40
45
  @if index($colors-black-text, $color) {
41
46
  @return color(slate);
@@ -141,7 +141,7 @@
141
141
  .modal { width: calc(100% - 20px); }
142
142
  .modal-body { max-height: 280px; }
143
143
  }
144
- @media only screen and (min-width: (breakpoint-min-width(b) / 2)) and (max-width: breakpoint-max-width(s)) {
144
+ @media only screen and (min-width: breakpoint-half-width(b)) and (max-width: breakpoint-max-width(s)) {
145
145
  .modal { width: calc(100% - 120px); }
146
146
  .modal-body { max-height: 140px; }
147
147
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.2.0
4
+ version: 16.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez