add mobile styles

This commit is contained in:
Angus McLeod 2019-04-03 12:40:03 +11:00
parent 44410fa375
commit 262ae0f96c
3 changed files with 13 additions and 4 deletions

View File

@ -114,7 +114,7 @@ div.stripe-errors {
text-align: center;
.donations-category-contents {
width: 500px;
max-width: 500px;
margin: 0 auto;
padding: 30px 40px 10px;
text-align: center;
@ -172,13 +172,13 @@ div.stripe-errors {
align-items: center;
span:first-of-type {
margin-right: 8px;
margin-right: 10px;
}
}
}
.donations-category-users {
width: 500px;
max-width: 500px;
margin: 0 auto;
font-size: 1.2rem;
padding-bottom: 30px;

View File

@ -0,0 +1,8 @@
.donations-category-header .donations-category-metadata {
flex-flow: wrap;
padding: 0 10px;
div {
padding-bottom: 10px;
}
}

View File

@ -6,7 +6,8 @@
gem 'stripe', '2.8.0'
register_asset "stylesheets/discourse-donations.scss"
register_asset "stylesheets/common/discourse-donations.scss"
register_asset "stylesheets/mobile/discourse-donations.scss"
enabled_site_setting :discourse_donations_enabled