resolving conflict in conferences/_tickets

Added in css .word_break and applied it in conferences/_tickets
This commit is contained in:
Astradeni 2018-01-05 02:00:24 +02:00 committed by James Mason
parent 9c7caa141f
commit 7fa007d621
2 changed files with 9 additions and 4 deletions

View file

@ -110,7 +110,7 @@ p.comment-body {
.g-recaptcha { .g-recaptcha {
@include clearfix; @include clearfix;
padding-bottom: 12px; padding-bottom: 12px;
div { div {
float: right; float: right;
} }
@ -120,4 +120,8 @@ p.comment-body {
#openid-btn-grp{ #openid-btn-grp{
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.word_break {
word-wrap: break-word;
}

View file

@ -16,9 +16,10 @@
= link_to(conference_tickets_path(conference.short_title), = link_to(conference_tickets_path(conference.short_title),
class: 'thumbnail') do class: 'thumbnail') do
.caption .caption
%h3.text-center %h3.text-center.word_break
= ticket.title = ticket.title
= markdown(ticket.description) .word_break
= markdown(ticket.description)
%button.btn-block.btn.btn-lg.btn-success %button.btn-block.btn.btn-lg.btn-success
%i.fa.fa-ticket.fa-fw %i.fa.fa-ticket.fa-fw
= humanized_money_with_symbol(ticket.price) = humanized_money_with_symbol(ticket.price)