FIX: uses mixin instead of mobile file for local-dates modal

This commit is contained in:
Joffrey JAFFEUX 2018-05-30 19:14:31 +02:00 committed by GitHub
parent 0c3a0b59cd
commit e32ccde72d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 17 deletions

View File

@ -91,6 +91,19 @@
.preview {
margin-top: 16px;
}
@include small-width {
flex-direction: column;
align-items: flex-start;
.date .date-input .date-picker {
width: 200px;
}
.time .time-input {
width: 200px;
}
}
}
.validation-error {

View File

@ -1,16 +0,0 @@
.discourse-local-dates-create-modal {
.form {
.date-time-configuration {
flex-direction: column;
align-items: flex-start;
.date .date-input .date-picker {
width: 200px;
}
.time .time-input {
width: 200px;
}
}
}
}

View File

@ -6,7 +6,6 @@ hide_plugin if self.respond_to?(:hide_plugin)
register_asset "javascripts/discourse-local-dates.js"
register_asset "stylesheets/common/discourse-local-dates.scss"
register_asset "stylesheets/mobile/discourse-local-dates.scss"
register_asset "moment.js", :vendored_core_pretty_text
register_asset "moment-timezone.js", :vendored_core_pretty_text