fix orbitbar

This commit is contained in:
BOHUNG 2020-02-06 13:12:45 +08:00
parent 4805a1e34c
commit a9cbf2256c
2 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@
</div> </div>
</div> </div>
<% if(current_site.is_hidden_orbit_bar && !current_site.orbit_bar_background_color.blank? rescue false) %> <% if(current_site.is_hidden_orbit_bar && !current_site.orbit_bar_background_color.blank? rescue false) %>
<div class="orbitbar-line" style="background-color:<%=current_site.orbit_bar_background_color%>;height: 0.3em;position: fixed;z-index: 1000;width: 100%;"></div> <div class="orbitbar-line" style="background-color:<%=current_site.orbit_bar_background_color%>;height: 0.3em;position: fixed;z-index: 1000;width: 100%;top: 0;"></div>
<% end %> <% end %>
<style> <style>
@media (max-width: 538px) {#orbit-bar ul.orbit-bar-search-sign-language > li + li{width:33.3333%;}} @media (max-width: 538px) {#orbit-bar ul.orbit-bar-search-sign-language > li + li{width:33.3333%;}}

View File

@ -287,7 +287,7 @@
</div> </div>
</div> </div>
<% if(current_site.is_hidden_orbit_bar && !current_site.orbit_bar_background_color.blank? rescue false) %> <% if(current_site.is_hidden_orbit_bar && !current_site.orbit_bar_background_color.blank? rescue false) %>
<div class="orbitbar-line" style="background-color:<%=current_site.orbit_bar_background_color%>;height: 0.3em;position: fixed;z-index: 1000;width: 100%;"></div> <div class="orbitbar-line" style="background-color:<%=current_site.orbit_bar_background_color%>;height: 0.3em;position: fixed;z-index: 1000;width: 100%;top: 0;"></div>
<% end %> <% end %>
<script type="text/javascript"> <script type="text/javascript">
$("#open-orbit-login").on("change",function(){ $("#open-orbit-login").on("change",function(){