Skip to content

Commit

Permalink
fix: some css stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
marudor committed Dec 1, 2023
1 parent 6eebda9 commit 3cbf30f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
21 changes: 12 additions & 9 deletions app/assets/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@
@import "bootswatch/slate/bootswatch";

// make room for navigation bar
body { padding-top: 5rem; }
body {
padding-top: 5rem;
}

a {
text-decoration: none;
}

.navbar-brand {
background-image: image_url('mete-logo.svg');
background-image: image_url("mete-logo.svg");
background-position: 0.5em 0.5em;
background-repeat: no-repeat;
background-size: 2em;
Expand All @@ -19,7 +25,9 @@ html {
min-height: 100%;
}

body { margin-bottom: 4rem; }
body {
margin-bottom: 4rem;
}
.footer {
position: absolute;
bottom: 0;
Expand All @@ -34,11 +42,6 @@ img.disabled {
opacity: 0.3;
}

.drink-panel img {
height: 10rem;
width: 10rem;
}

.user-filter {
display: flex;
overflow: hidden;
Expand Down Expand Up @@ -95,7 +98,7 @@ img.disabled {
}

label {
margin-right: .5rem;
margin-right: 0.5rem;
}

#user-page-avatar-holder img {
Expand Down
2 changes: 1 addition & 1 deletion app/views/application/_bills.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
= link_to path || '#' do
.card.bill-card.text-center
.card-body
= image_tag "euro-#{amount}.png", alt: show_amount(amount)
= image_tag "euro-#{amount}.png", alt: show_amount(amount), height: 100
.card-footer
+
= show_amount amount
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ volumes:

services:
db:
image: postgres:10-alpine
image: postgres:16-alpine
environment:
POSTGRES_PASSWORD: mete
volumes:
Expand Down

0 comments on commit 3cbf30f

Please sign in to comment.