Skip to content

Commit

Permalink
remove first slash before date on xs and smaller screen sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Niles committed Mar 17, 2017
1 parent 0ed5519 commit b601160
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion app/assets/stylesheets/embed.scss
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ h4.title:hover {
max-width: 100%;
overflow: hidden;
color: $vr-blue;
white-space: nowrap;
white-space: nowrap;
line-height: 1;
a {
color: $vr-blue;
}
Expand Down Expand Up @@ -259,6 +260,12 @@ white-space: nowrap;
line-height: 21px;
}


.xs .first-slash, .tiny .first-slash {
display: none;
visibility: hidden;
}

.small .info-box {
height: 56px;
max-height: 56px;
Expand Down
3 changes: 2 additions & 1 deletion lib/vrng/src/vrng/embeds/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@
[:span (get-in (talk) [:venue :user :name])]]
(if (in-talk-state "archived")
[:span
[:span.date.sm-up " / " (relative-time)]
[:span.date
[:span.first-slash " / "] (relative-time)]
[:span.play-count.sm-up " / " (humanreadable-plays) " Plays"]])]]
[:div.branding-box
[:a {:href (:url (talk)) :target "_blank"}
Expand Down

0 comments on commit b601160

Please sign in to comment.