Minor bug and UI fixes (#6729)
* PLT-6797 - Code block language tag not selectable * PLT-6771 - Aligning search box with RHS * PLT-6827 - Fixing link color in error bar * PLT-6241 - Adding edge detection
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
d8cd38f483
Коммит
dfbb16521c
@@ -44,7 +44,7 @@ export default class ChannelView extends React.Component {
|
||||
$('body').addClass('app__body');
|
||||
|
||||
// IE Detection
|
||||
if (UserAgent.isInternetExplorer()) {
|
||||
if (UserAgent.isInternetExplorer() || UserAgent.isEdge()) {
|
||||
$('body').addClass('browser--ie');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ export default class NewChannelModal extends React.PureComponent {
|
||||
|
||||
componentDidMount() {
|
||||
// ???
|
||||
if (UserAgent.isInternetExplorer()) {
|
||||
if (UserAgent.isInternetExplorer() || UserAgent.isEdge()) {
|
||||
$('body').addClass('browser--ie');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -255,7 +255,6 @@ export default class SearchBar extends React.Component {
|
||||
mentionBtn = (
|
||||
<div
|
||||
className='dropdown channel-header__links'
|
||||
style={{float: 'left', marginTop: '1px'}}
|
||||
>
|
||||
<OverlayTrigger
|
||||
delayShow={Constants.OVERLAY_TIME_DELAY}
|
||||
@@ -279,7 +278,6 @@ export default class SearchBar extends React.Component {
|
||||
flagBtn = (
|
||||
<div
|
||||
className='dropdown channel-header__links'
|
||||
style={{float: 'left', marginTop: '1px'}}
|
||||
>
|
||||
<OverlayTrigger
|
||||
delayShow={Constants.OVERLAY_TIME_DELAY}
|
||||
|
||||
Ссылка в новой задаче
Block a user