modal-responder-rails 1.0.2 → 1.0.3

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
  SHA1:
3
- metadata.gz: 204c41ef2d3556bdfd9f39f8863fd9b909244338
4
- data.tar.gz: 08cfe1a8cdc779e184d35f15e26cd9d2c6a77238
3
+ metadata.gz: 0cfcd75eff6d540ad5a0474345b72406ecc6a411
4
+ data.tar.gz: f2ff5488c735a6165f9330750a9f329e545d189d
5
5
  SHA512:
6
- metadata.gz: f05cbcdfeb36ddc23733c5bee997a575c41ad83c7d079c0d03c9986aaf3c8bb39e8af65f88d85f82a6b04f8d89840bc55bd3f52543eb6e7835897909ce5278f8
7
- data.tar.gz: a3a976197ddd5be958140045242582ca6dc5bc076a5bcd477c4eb3cbe9bb93c496bfaad9e2c25c1f171faac1a75d59cb5ffb2e53d5fd8f52f4dfb7561deeb520
6
+ metadata.gz: 7f99d1582c251b487e95463afd4e03d8731fb43ef825ce7a3a097ca538c01afe3e843a3fb2ab10e36054fb1a2f4ed1c8c81b1ba455604cdffa48b5cded654d30
7
+ data.tar.gz: b35c6cf16d3d4168eb917d19e503802505aef30ab9827a42b8d3c4c7eeb77fd688f9a3630d319dbd55bbc771ec255358be522bba7fab7bc4ba427abc2b834d4f
@@ -4,6 +4,10 @@
4
4
 
5
5
 
6
6
 
7
+ ## 1.0.3 (2016-11-27)
8
+
9
+ - Adds a stylesheet file in order to hide the modal header
10
+
7
11
  ## 1.0.2 (2016-11-27)
8
12
 
9
13
  - Fixes an issue where the response from the controller was empty
data/README.md CHANGED
@@ -86,6 +86,22 @@ body and footer:
86
86
  </div>
87
87
  ```
88
88
 
89
+ ### No header
90
+
91
+ In the case you want a modal without a header, meaning instead of having this:
92
+
93
+ ![Bootstrap 4 modal with header](https://cloud.githubusercontent.com/assets/478564/20648092/d27f9df8-b49d-11e6-9e89-60bcee6cb263.png)
94
+
95
+ you want this:
96
+
97
+ ![Bootstrap 4 modal without header](https://cloud.githubusercontent.com/assets/478564/20648099/f2019208-b49d-11e6-8ff4-e35024ff7ffd.png)
98
+
99
+ you just have to add the following to your `app/assets/stylesheets/application.scss`:
100
+
101
+ ```
102
+ *= require modal-responder-no-header
103
+ ```
104
+
89
105
  ## Contributing
90
106
 
91
107
  1. Fork it
@@ -1,5 +1,5 @@
1
1
  module ModalResponder
2
2
  module Rails
3
- VERSION = '1.0.2'.freeze
3
+ VERSION = '1.0.3'.freeze
4
4
  end
5
5
  end
@@ -0,0 +1,10 @@
1
+ #mainModal {
2
+ .modal-content {
3
+ .modal-header {
4
+ position: absolute;
5
+ right: 0;
6
+ border-bottom: none;
7
+ z-index: 1;
8
+ }
9
+ }
10
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modal-responder-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Hain
@@ -99,6 +99,7 @@ files:
99
99
  - make_new_release.sh
100
100
  - modal-responder-rails.gemspec
101
101
  - vendor/assets/javascripts/modal-responder.js
102
+ - vendor/assets/stylesheets/modal-responder-no-header.scss
102
103
  homepage: https://github.com/Sento/modal-responder-rails
103
104
  licenses:
104
105
  - MIT