From 0a1612d112bc80d50792980285b3dcfa48f6203d Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Mon, 16 Aug 2021 17:57:06 +0300 Subject: [PATCH] Pull request #1273: 3438 make highlighted inputs resizable Merge in DNS/adguard-home from 3438-inputs-height to master Squashed commit of the following: commit a049febdc8490505d665c0939c01a14da997f861 Merge: 7035339b 42b2c3ab Author: Ildar Kamalov Date: Mon Aug 16 17:36:58 2021 +0300 Merge branch 'master' into 3438-inputs-height commit 7035339b26fa205a844e79713179c7b623c90ce0 Merge: 20ef34c4 784bc318 Author: Ildar Kamalov Date: Mon Aug 16 17:28:06 2021 +0300 Merge branch 'master' into 3438-inputs-height commit 20ef34c4a6078658c444e310800923b8b3f74c1c Author: Ildar Kamalov Date: Mon Aug 16 13:41:46 2021 +0300 client: remove unused commit f2ace4ef452bbdc4b955e510aa07d1c93ec79ee4 Author: Ildar Kamalov Date: Mon Aug 16 13:30:58 2021 +0300 client: make highlighted inputs resizable --- client/src/components/Filters/CustomRules.js | 22 +++++--------- .../components/Settings/Dns/Upstream/Form.js | 30 +++++++++---------- .../ui/texareaCommentsHighlight.css | 26 +++++----------- 3 files changed, 28 insertions(+), 50 deletions(-) diff --git a/client/src/components/Filters/CustomRules.js b/client/src/components/Filters/CustomRules.js index 056407343f9..31eb482e5c6 100644 --- a/client/src/components/Filters/CustomRules.js +++ b/client/src/components/Filters/CustomRules.js @@ -1,13 +1,12 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Trans, withTranslation } from 'react-i18next'; -import classnames from 'classnames'; import Card from '../ui/Card'; import PageTitle from '../ui/PageTitle'; import Examples from './Examples'; import Check from './Check'; import { getTextareaCommentsHighlight, syncScroll } from '../../helpers/highlightTextareaComments'; -import { COMMENT_LINE_DEFAULT_TOKEN, isFirefox } from '../../helpers/constants'; +import { COMMENT_LINE_DEFAULT_TOKEN } from '../../helpers/constants'; import '../ui/texareaCommentsHighlight.css'; class CustomRules extends Component { @@ -52,26 +51,19 @@ class CustomRules extends Component { return ( <> - +
-
-