From db1b72a95c50ce955b7f8b9d63bc72923ea6b9e5 Mon Sep 17 00:00:00 2001 From: Brad Decker Date: Wed, 5 Aug 2020 08:44:17 -0500 Subject: [PATCH] colocate editable label styles and code (#9120) --- ui/app/components/app/index.scss | 1 + ui/app/components/ui/{ => editable-label}/editable-label.js | 0 ui/app/components/ui/editable-label/index.js | 1 + .../ui/editable-label/index.scss} | 0 ui/app/css/itcss/components/index.scss | 1 - ui/app/css/itcss/components/sections.scss | 4 ---- 6 files changed, 2 insertions(+), 5 deletions(-) rename ui/app/components/ui/{ => editable-label}/editable-label.js (100%) create mode 100644 ui/app/components/ui/editable-label/index.js rename ui/app/{css/itcss/components/editable-label.scss => components/ui/editable-label/index.scss} (100%) diff --git a/ui/app/components/app/index.scss b/ui/app/components/app/index.scss index 73881885e..5cb6fd2a7 100644 --- a/ui/app/components/app/index.scss +++ b/ui/app/components/app/index.scss @@ -10,6 +10,7 @@ @import 'confirm-page-container/index'; @import '../ui/currency-input/index'; @import '../ui/currency-display/index'; +@import '../ui/editable-label/index'; @import '../ui/error-message/index'; @import '../ui/export-text-container/index'; @import '../ui/identicon/index'; diff --git a/ui/app/components/ui/editable-label.js b/ui/app/components/ui/editable-label/editable-label.js similarity index 100% rename from ui/app/components/ui/editable-label.js rename to ui/app/components/ui/editable-label/editable-label.js diff --git a/ui/app/components/ui/editable-label/index.js b/ui/app/components/ui/editable-label/index.js new file mode 100644 index 000000000..43078e7f7 --- /dev/null +++ b/ui/app/components/ui/editable-label/index.js @@ -0,0 +1 @@ +export { default } from './editable-label' diff --git a/ui/app/css/itcss/components/editable-label.scss b/ui/app/components/ui/editable-label/index.scss similarity index 100% rename from ui/app/css/itcss/components/editable-label.scss rename to ui/app/components/ui/editable-label/index.scss diff --git a/ui/app/css/itcss/components/index.scss b/ui/app/css/itcss/components/index.scss index 19f202711..ea01b5060 100644 --- a/ui/app/css/itcss/components/index.scss +++ b/ui/app/css/itcss/components/index.scss @@ -21,7 +21,6 @@ @import './request-signature'; @import './request-encryption-public-key'; @import './request-decrypt-message'; -@import './editable-label'; @import './pages/index'; @import './new-account'; @import './tooltip'; diff --git a/ui/app/css/itcss/components/sections.scss b/ui/app/css/itcss/components/sections.scss index c187b121b..4ddda782a 100644 --- a/ui/app/css/itcss/components/sections.scss +++ b/ui/app/css/itcss/components/sections.scss @@ -100,10 +100,6 @@ textarea.twelve-word-phrase { padding-left: 5px; } -.editable-label { - display: flex; -} - /* accounts */ .accounts-section {