Fix status color

This commit is contained in:
Anton 2023-09-22 14:46:10 +02:00
parent 50a87b1562
commit 6c8447beac
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@
@mixin not-started { @mixin not-started {
border: 1px solid var(--sn-sleepy-grey); border: 1px solid var(--sn-sleepy-grey);
color: var(--sn-black); color: var(--sn-black) !important;
} }
// Material design mixins // Material design mixins

View file

@ -49,7 +49,7 @@
<i class="fas fa-long-arrow-alt-right"></i> <i class="fas fa-long-arrow-alt-right"></i>
<div class="status-container"> <div class="status-container">
<div class="status-name <%= 'status-light' if previous_s.light_color? %>" <div class="status-name <%= 'status-light' if previous_s.light_color? %>"
style="<%= "background-color: #{previous_s.color};" %> <%= "color: black !important;" if previous_s.color == "#FFFFFF" %>"><%= previous_s.name %></div> style="<%= "background-color: #{previous_s.color}" %>"><%= previous_s.name %></div>
</div> </div>
</li> </li>
<span class="error-message"><% previous_s_errors.each do |error| %> <span class="error-message"><% previous_s_errors.each do |error| %>