Skip to content

Commit

Permalink
Fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitt26 committed Sep 23, 2023
1 parent 7078370 commit 43a5806
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions app/assets/stylesheets/spend.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.head-2 {
font-family: "Courier New", Courier, monospace;
font-weight: 700;
font-size: 35px;
font-size: 33px;
color: #b9c4d1;
background-color: #3778c2;
padding-top: 10px;
Expand All @@ -33,16 +33,18 @@
border: 2px solid rgb(216, 213, 213);
border-radius: 8px;
padding: 6px;
padding-bottom: 0;
}

.t-spend {
color: #3778c2;
font-weight: 600;
font-size: 30px;
font-size: 25px;
word-wrap: normal;
}

.t-value {
font-size: 28px;
font-size: 24px;
}

.spend-group {
Expand Down
2 changes: 1 addition & 1 deletion app/views/spends/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<% total_value += spend.amount %>
<% end %>
<div class="total">
<h3 class="t-spend"> Total Spended :</h3>
<h3 class="t-spend"> Total Spend:</h3>
<h3 class="t-value">$<%= total_value %> </h3>
</div>
<div class="spend-group">
Expand Down
4 changes: 2 additions & 2 deletions spec/models/category_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
expect(@category).to_not be_valid
end

it 'is valid without an icon' do
it 'is not valid without an icon' do
@category.icon = nil
expect(@category).to be_valid
expect(@category).to_not be_valid
end
end
end

0 comments on commit 43a5806

Please sign in to comment.