fix gradients?
This commit is contained in:
parent
e6688019b1
commit
8b9107f809
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
<section class="hero is-medium is-primary is-bold" style="background-image:url('<%= item[:banner] %>');background-position:center;">
|
<section class="hero is-medium is-primary is-bold" style="background-image:url('<%= item[:banner] %>');background-position:center;">
|
||||||
<% elsif item[:color] %>
|
<% elsif item[:color] %>
|
||||||
<% gradient = if item[:gradient].nil? || item[:gradient]
|
<% gradient = if item[:gradient].nil? || item[:gradient]
|
||||||
'linear-gradient(to top right,rgba(255,255,255,0),rgba(0,0,0,.60))'
|
'linear-gradient(141deg,rgba(255,255,255,0),rgba(0,0,0,.60))'
|
||||||
else
|
else
|
||||||
'none'
|
'none'
|
||||||
end %>
|
end %>
|
||||||
|
|
Loading…
Reference in a new issue