Skip to content

Commit

Permalink
adjust CSS to better support long resort names
Browse files Browse the repository at this point in the history
  • Loading branch information
pirxpilot committed Nov 27, 2023
1 parent 86428d6 commit 99ab457
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
11 changes: 7 additions & 4 deletions public/stylesheets/style.styl
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,9 @@ header .ls-furkot
font-size 1.2em
border-bottom solid 2px transparent
vertical-align middle

a + a,
span + span
margin-left .2em
display flex
align-items baseline
gap .2em

a
outline none
Expand Down Expand Up @@ -226,6 +225,10 @@ header .ls-furkot
.resort-link
font-size .9em

.resort-name
flex 1
ellipsis()

.summary
list-style none
clearfix()
Expand Down
5 changes: 3 additions & 2 deletions views/resort.jade
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ mixin header(resort, widget)
if resort.deals
a.icon-alone(title=resort.deals.title, href=resort.deals.href, target="_blank", rel="nofollow noopener")
span.ls-deal
a.right.icon-alone.minimax
span.ls-minimax
a.right.icon-alone.star
span.ls-star
if !single
a.right.icon-alone.minimax
span.ls-minimax

mixin lifts(resort)
.lifts-status
Expand Down

0 comments on commit 99ab457

Please sign in to comment.