character 1.0.3 → 1.0.4

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: 8a8bba0296e43c12ead4fe669043d298d156c50e
4
- data.tar.gz: bfaa09e984bd3f63e91cfbca3b8d7bb2dde94002
3
+ metadata.gz: 3992f7bb47b7a0efa1e09d4f0c51af5b90ad0f6f
4
+ data.tar.gz: cc5dbde1f655f2b94bd98ecea5056121d0747475
5
5
  SHA512:
6
- metadata.gz: 3aa6b85efd05c33bfbb9839e33a05ec7e83ab2deaf4b52dde7e35d007b35aee505d8f894004cfd606886d1ad228804de8847f24d2e590ad996840b5e30215b96
7
- data.tar.gz: 86cce4addd1212901169e3c11cec556fec07f146af9132749dfc21534db5b2839ebc7193757d8942afaf088094796cafffa255d5f8eaa76fa60336b378dc8206
6
+ metadata.gz: 1ce54bd1cb0eb8a2c4294c25d811e1cd551a4b29cf886ffe6ff6870e6b2901c1b6fbbff2a8687cda86ae451d29e363d52e67abe14b75dfa66e86e5080102c518
7
+ data.tar.gz: a2f0f900b77505d31094c3ecd714ef7b0e09ed9e24b46b0787c052be30205f17ebdad5abcab94bf2e34b758f9c8afad43bba92e6f0b0b55f00ddf7c874661242
@@ -25,6 +25,14 @@
25
25
  #= require ./character/pages/module
26
26
  #= require ./character/dashboard/module
27
27
 
28
+ # Safari detection for CSS workarounds
29
+
30
+ $ ->
31
+ ua = navigator.userAgent.toLowerCase()
32
+ if ua.indexOf('safari') != -1
33
+ unless ua.indexOf('chrome') > -1
34
+ $('body').addClass 'safari'
35
+
28
36
  @Character ||= {}
29
37
 
30
38
  _.mixin(_.str.exports())
@@ -34,4 +34,8 @@ $font_bold: 700!default;
34
34
  @import "character/redirects";
35
35
  @import "character/authors";
36
36
  @import "character_editor";
37
- @import "redactor";
37
+ @import "redactor";
38
+
39
+ // workarounds
40
+
41
+ .safari .chr-layout .right { width: 65.1%; }
@@ -1,3 +1,3 @@
1
1
  module Character
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: character
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kravets