rails_admin_next 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85cf357bfb48a568e28ee9d031d96f9d9d96546564579a17273d06ddd1643a45
4
- data.tar.gz: a3850dcf1e9f5fb4bf6797a1175be2112d6f5ecc1d9f4588dfc561a412ce9072
3
+ metadata.gz: f52de80007a2b162a4a4874efa2606e2ec24a056f63a2efbd3603f30867d0e8f
4
+ data.tar.gz: aa67aa9fbe010180f5313cebe83a569fdeb1808d1e936b86ee9201ff05b25f7e
5
5
  SHA512:
6
- metadata.gz: 950489886f285808c1d8688a3099361d63bc0f2bead9b15b3b752c3de41e696a48232f63bd6bdce8ec6835a9266b35f3b13a1faebc10572a0de1daf05b87a61b
7
- data.tar.gz: 6dcc9aa9063071f2008888dff5c1c4e43042c6fd3026ce6c52bdd5844080f0276cbb719241427c84254d95d2b05160cf066aaf699ddd14ac03c5c9204a5d791d
6
+ metadata.gz: 40f67da005ec5b1c3b5d8825dc0b6d7a8bb92d01ba93c035f8371353b557fee9e1b0b76a7275a9f100ad79e4eb1b5a74dd59cd438ef79fb692bea50bc17c401e
7
+ data.tar.gz: 4204094e7e91124b1df69629a853988b4cc16284bf49003b59e13f486f33566ce3392f148c2a6d89e33ca24cb46d35c2e4c48c9b822e4fe95eba1513e23c514e
@@ -470,6 +470,16 @@ body.rails_admin .admin-footer {
470
470
 
471
471
  /* === Admin skin: responsive adjustments ================================= */
472
472
  @media screen and (min-width: 576px) {
473
+ /* Only from this width: below it the sidebar stacks above the content, and a
474
+ full-height column would leave blank space under a short page. */
475
+ body.rails_admin .admin-main {
476
+ display: flex;
477
+ flex-direction: column;
478
+ min-height: calc(100dvh - 3.275rem);
479
+ }
480
+ body.rails_admin .admin-main > .admin-footer {
481
+ margin-top: auto;
482
+ }
473
483
  body.rails_admin .sidebar.btn-toggle-nav {
474
484
  position: fixed;
475
485
  top: 3.275rem;
@@ -16,7 +16,7 @@
16
16
  <div class="col-sm-3 col-md-2 flex-wrap p-0">
17
17
  <%= render "layouts/rails_admin_next/sidebar_navigation" %>
18
18
  </div>
19
- <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2">
19
+ <div class="admin-main col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2">
20
20
  <div class="container-fluid">
21
21
  <%= render template: 'layouts/rails_admin_next/content' %>
22
22
  </div>
@@ -7,7 +7,7 @@ module RailsAdminNext
7
7
  # the floor a local `gem build` produces.
8
8
  MAJOR = 2
9
9
  MINOR = 0
10
- PATCH = 0
10
+ PATCH = 1
11
11
  PRE = nil
12
12
 
13
13
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_next
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel López Prat