From b84f258f87b41db5138dc527a03e40c885aeec6d Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 31 Aug 2017 13:49:52 +0100 Subject: [PATCH] add bottom margin to navigation buttons of room state explorer Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .../views/dialogs/DevtoolsDialog.js | 9 +++++++-- src/skins/vector/css/_components.scss | 1 + .../views/dialogs/_DevtoolsDialog.scss | 19 +++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 src/skins/vector/css/vector-web/views/dialogs/_DevtoolsDialog.scss diff --git a/src/components/views/dialogs/DevtoolsDialog.js b/src/components/views/dialogs/DevtoolsDialog.js index 6b553eed50..a7ac9fb1c2 100644 --- a/src/components/views/dialogs/DevtoolsDialog.js +++ b/src/components/views/dialogs/DevtoolsDialog.js @@ -188,14 +188,19 @@ class RoomStateExplorer extends React.Component { onClickFn = this.onViewSourceClick(stateGroup[stateKeys[0]]); } - rows.push(); + rows.push(); }); } else { const evType = this.state.eventType; const stateGroup = this.roomStateEvents[evType]; Object.keys(stateGroup).forEach((stateKey) => { const ev = stateGroup[stateKey]; - rows.push(); + rows.push(); }); } diff --git a/src/skins/vector/css/_components.scss b/src/skins/vector/css/_components.scss index 00c19b13da..8caf15ca1c 100644 --- a/src/skins/vector/css/_components.scss +++ b/src/skins/vector/css/_components.scss @@ -74,6 +74,7 @@ @import "./vector-web/views/context_menus/_MessageContextMenu.scss"; @import "./vector-web/views/context_menus/_RoomTileContextMenu.scss"; @import "./vector-web/views/dialogs/_ChangelogDialog.scss"; +@import "./vector-web/views/dialogs/_DevtoolsDialog.scss"; @import "./vector-web/views/dialogs/_SetEmailDialog.scss"; @import "./vector-web/views/dialogs/_SetPasswordDialog.scss"; @import "./vector-web/views/directory/_NetworkDropdown.scss"; diff --git a/src/skins/vector/css/vector-web/views/dialogs/_DevtoolsDialog.scss b/src/skins/vector/css/vector-web/views/dialogs/_DevtoolsDialog.scss new file mode 100644 index 0000000000..c22a38341c --- /dev/null +++ b/src/skins/vector/css/vector-web/views/dialogs/_DevtoolsDialog.scss @@ -0,0 +1,19 @@ +/* +Copyright 2017 Michael Telatynski <7t3chguy@gmail.com> + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +.mx_DevTools_RoomStateExplorer_button { + margin-bottom: 10px; +}