Auction view fix & TODO update

master
E. Almqvist 3 years ago
parent 683478626f
commit ddb7beebee
  1. 2
      src/TODO.md
  2. 2
      src/views/auction/view.slim
  3. 12
      src/views/stylesheets/style.sass

@ -5,8 +5,8 @@
---------------- ----------------
- Auction expiry (unable to bid after x time) - Auction expiry (unable to bid after x time)
- User reviews - User reviews
----------------
- Yardoc 50% - Yardoc 50%
----------------
## Refactor ## Refactor
- Funds transfer logic for auctions? - Funds transfer logic for auctions?

@ -24,7 +24,7 @@
ul ul
| Categories: | Categories:
- auction.categories.each do |category| - auction.categories.each do |category|
ul style="color: #{category.color}" = category.name ul style="color: #{category.color}; font-weight: bold" = category.name
- if not auction.expired? - if not auction.expired?
div div

@ -20,6 +20,8 @@ $gray_clr: #888
$special_clr: #4776C1 $special_clr: #4776C1
$header_height: 4rem
\:root \:root
display: border-box display: border-box
margin: 0 margin: 0
@ -45,6 +47,7 @@ html
height: 100% height: 100%
.fade-in .fade-in
height: calc(100% - #{$header_height})
animation: fade-in .5s ease-in alternate animation: fade-in .5s ease-in alternate
// Layout // Layout
@ -53,10 +56,12 @@ body
height: 100% height: 100%
header header
display: flex
align-items: center
background-color: $bg_clr background-color: $bg_clr
padding: .1rem .8rem
white-space: nowrap white-space: nowrap
border-bottom: $border_size solid $shadow_clr border-bottom: $border_size solid $shadow_clr
height: calc(#{$header_height} - #{$border_size})
img.avatar img.avatar
transition: border .2s transition: border .2s
@ -65,6 +70,7 @@ header
div div
display: flex display: flex
flex: 1
max-width: 70rem max-width: 70rem
margin: 0 auto margin: 0 auto
align-items: center align-items: center
@ -448,10 +454,6 @@ ul.list-container
display: flex display: flex
flex-direction: column flex-direction: column
#auction-view-container
margin-top: 1rem
justify-content: unset
#auction-view #auction-view
display: grid display: grid
grid-template-columns: 1fr 1fr grid-template-columns: 1fr 1fr

Loading…
Cancel
Save