-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open-Up/openup2018_01-barcamp#9 #2
base: master
Are you sure you want to change the base?
Conversation
87e3f91
to
dd4bcc3
Compare
@@ -1,4 +1,4 @@ | |||
.chat-conversation-topic-edition | |||
span.editable(ng-if="!ctrl.conversation.topic.value" editable-text="ctrl.topic" onhide="ctrl.draft($data)" buttons="no" onbeforesave='ctrl.updateTopic($data)') | |||
| #{__('Set a topic')} | |||
span.editable(ng-if="ctrl.conversation.topic.value" ng-bind-html="ctrl.conversation.topic.value | linky:'_blank' | esnEmoticonify:{class: 'label-emoji'}" editable-text="ctrl.topic" onhide="ctrl.draft($data)" buttons="no" onbeforesave='ctrl.updateTopic($data)') | |||
span.editable(ng-if="ctrl.conversation.topic.value" ng-bind-html="ctrl.conversation.topic.value | linky:'_blank' | esnEmoticonify:{class: 'label-emoji'}" editable-text="ctrl.topic" onhide="ctrl.draft($data)" buttons="no" onbeforesave='ctrl.updateTopic($data)' data-trigger="hover" data-placement="down" title="{{ctrl.conversation.topic.value}}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Do we need
data-trigger="hover" data-placement="down"
? - Please separate attributes by
,
@@ -24,13 +24,20 @@ | |||
} | |||
|
|||
span { | |||
.ellipsis; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be in chatConversationTopicEdition
.
You should always css for an element in a component in css file of that component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but it is not woking
@@ -24,13 +24,20 @@ | |||
} | |||
|
|||
span { | |||
.ellipsis; | |||
|
|||
display: block; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use div
instead of span
with display: block
cursor: pointer; | ||
.label-emoji { | ||
width: @chatLabelEmojiSize; | ||
} | ||
} | ||
} | ||
|
||
chat-conversation-topic-edition { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be in chat-conversation-topic-edition.less
@@ -1,4 +1,4 @@ | |||
.chat-conversation-topic-edition | |||
span.editable(ng-if="!ctrl.conversation.topic.value" editable-text="ctrl.topic" onhide="ctrl.draft($data)" buttons="no" onbeforesave='ctrl.updateTopic($data)') | |||
| #{__('Set a topic')} | |||
span.editable(ng-if="ctrl.conversation.topic.value" ng-bind-html="ctrl.conversation.topic.value | linky:'_blank' | esnEmoticonify:{class: 'label-emoji'}" editable-text="ctrl.topic" onhide="ctrl.draft($data)" buttons="no" onbeforesave='ctrl.updateTopic($data)') | |||
span.editable(ng-if="ctrl.conversation.topic.value" ng-bind-html="ctrl.conversation.topic.value | linky:'_blank' | esnEmoticonify:{class: 'label-emoji'}" editable-text="ctrl.topic" onhide="ctrl.draft($data)" buttons="no" onbeforesave='ctrl.updateTopic($data)' title="{{ctrl.conversation.topic.value}}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please separate attributes by ,
@@ -42,8 +49,12 @@ | |||
a { | |||
color: @secondaryTextColor; | |||
} | |||
|
|||
chat-conversation-topbar-actions-members span{ | |||
white-space: nowrap; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it keep contact icon inline
cursor: pointer; | ||
.label-emoji { | ||
width: @chatLabelEmojiSize; | ||
} | ||
} | ||
} | ||
|
||
chat-conversation-topic-edition { | ||
width: 90%; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100%, padding if need
0c63732
to
75dec75
Compare
div { | ||
.ellipsis; | ||
|
||
display: block; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need because display of div
is bock by default
e406899
to
fa24438
Compare
@@ -1,4 +1,4 @@ | |||
.chat-conversation-topic-edition | |||
span.editable(ng-if="!ctrl.conversation.topic.value" editable-text="ctrl.topic" onhide="ctrl.draft($data)" buttons="no" onbeforesave='ctrl.updateTopic($data)') | |||
| #{__('Set a topic')} | |||
span.editable(ng-if="ctrl.conversation.topic.value" ng-bind-html="ctrl.conversation.topic.value | linky:'_blank' | esnEmoticonify:{class: 'label-emoji'}" editable-text="ctrl.topic" onhide="ctrl.draft($data)" buttons="no" onbeforesave='ctrl.updateTopic($data)') | |||
div.editable(ng-if="ctrl.conversation.topic.value" ng-bind-html="ctrl.conversation.topic.value | linky:'_blank' | esnEmoticonify:{class: 'label-emoji'}" editable-text="ctrl.topic" onhide="ctrl.draft($data)" buttons="no" onbeforesave='ctrl.updateTopic($data)' title="{{ctrl.conversation.topic.value}}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need div
12e477d
to
b4e5ace
Compare
@@ -42,8 +45,12 @@ | |||
a { | |||
color: @secondaryTextColor; | |||
} | |||
|
|||
chat-conversation-topbar-actions-members span{ | |||
white-space: nowrap; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad indent
width: 100%; | ||
padding-right: 10px; | ||
|
||
div { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use .editable
instead of div
b4e5ace
to
9f0e097
Compare
Add ellipsis to Chat channel's topic