This commit is contained in:
parent
c16ec1d53d
commit
ff008e4702
3 changed files with 8 additions and 5 deletions
|
|
@ -56,6 +56,10 @@ module.exports = {
|
|||
'jsx-a11y/no-onchange': 'off',
|
||||
'prefer-const': ['error'],
|
||||
'prefer-destructuring': ['warn', { object: true, array: false }],
|
||||
'react/jsx-curly-brace-presence': [
|
||||
'error',
|
||||
{ props: 'never', children: 'never' },
|
||||
],
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ export const Message = ({
|
|||
|
||||
<div
|
||||
id={dropdownContentId}
|
||||
className={`messagebody__dropdownmenu report__abuse__button hidden`}
|
||||
className="messagebody__dropdownmenu report__abuse__button hidden"
|
||||
>
|
||||
<Button
|
||||
variant="ghost-danger"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
let isFullScreenModeCodeOn = false;
|
||||
let screenScroll = 0;
|
||||
const fullScreenWindow = document.getElementsByClassName(
|
||||
'js-fullscreen-code',
|
||||
)[0];
|
||||
const body = document.body;
|
||||
const fullScreenWindow =
|
||||
document.getElementsByClassName('js-fullscreen-code')[0];
|
||||
const { body } = document;
|
||||
|
||||
function setAfterFullScreenScrollPosition() {
|
||||
window.scrollTo(0, screenScroll);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue