Commit fe7d7135 authored by mgabdev's avatar mgabdev

Fixed issue with outlines on statuses, comments, article tags

• Fixed:
- issue with outlines on statuses, comments, article tags
parent 0c3c6f76
......@@ -134,7 +134,7 @@ class IntersectionObserverArticle extends React.Component {
if (!isIntersecting && (isHidden || cachedHeight)) {
return (
<article
className={[_s.outlineNone].join(' ')}
className={_s.outlineNone}
ref={this.handleRef}
aria-posinset={index + 1}
aria-setsize={listLength}
......@@ -149,6 +149,7 @@ class IntersectionObserverArticle extends React.Component {
return (
<article
className={_s.outlineNone}
ref={this.handleRef}
aria-posinset={index + 1}
aria-setsize={listLength}
......
......@@ -503,7 +503,7 @@ class Status extends ImmutablePureComponent {
}
return (
<HotKeys handlers={handlers}>
<HotKeys handlers={handlers} className={_s.outlineNone}>
<div className={parentClasses}>
<ResponsiveClassesComponent
classNames={containerClasses}
......
......@@ -223,6 +223,7 @@ class StatusContent extends ImmutablePureComponent {
const statusContentClasses = cx({
statusContent: 1,
outlineNone: 1,
displayNone: hidden,
})
......@@ -248,7 +249,7 @@ class StatusContent extends ImmutablePureComponent {
<div className={[_s.default, _s.flexRow, _s.mr5].join(' ')}>
<Icon id='warning' size='14px' className={[_s.fillPrimary, _s.mt2, _s.mr5].join(' ')}/>
<div
className={_s.statusContent}
className={[_s.statusContent, _s.outlineNone].join(' ')}
dangerouslySetInnerHTML={spoilerContent}
lang={status.get('language')}
/>
......@@ -291,6 +292,7 @@ class StatusContent extends ImmutablePureComponent {
const statusContentClasses = cx({
statusContent: 1,
outlineNone: 1,
height215PX: collapsed & !isComment,
height122PX: collapsed && isComment,
overflowHidden: collapsed,
......@@ -330,6 +332,7 @@ class StatusContent extends ImmutablePureComponent {
const containerClasses = cx({
statusContent: 1,
outlineNone: 1,
px15: !isComment,
mb15: !isComment,
mt5: isComment,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment