Skip to content

Commit

Permalink
style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
angusmcleod committed Aug 8, 2019
1 parent e4be013 commit cdc5fc2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
@@ -1,7 +1,7 @@
import { cookAsync } from "discourse/lib/text";

export default Ember.Component.extend({
classNames: 'topic-tip',
classNames: 'qa-topic-tip',

didInsertElement() {
Ember.$(document).on('click', Ember.run.bind(this, this.documentClick));
Expand Down
38 changes: 20 additions & 18 deletions assets/stylesheets/common/question-answer.scss
Expand Up @@ -58,27 +58,29 @@ nav.post-controls button.comment {
padding-left: 105px;
}

// identical to classes in other plugins

.topic-tip {
.qa-topic-tip {
position: relative;
margin-top: 5px;
}

.tip-details {
background-color: dark-light-diff($primary, $secondary, 95%, -85%);
box-shadow: shadow('dropdown');
padding: 10px 15px;
position: absolute;
top: 32px;
z-index: 9999;
width: 300px;

p {
margin: 0;
}

.tip-details {
background-color: dark-light-diff($primary, $secondary, 95%, -85%);
box-shadow: shadow('dropdown');
padding: 10px 15px;
position: absolute;
top: 32px;
z-index: 9999;
width: 300px;

ul {
margin-bottom: 0;
}
ul {
margin-bottom: 0;
}

li {
margin: 2px 0;
li {
margin: 2px 0;
}
}
}

0 comments on commit cdc5fc2

Please sign in to comment.