diff --git a/res/css/_common.scss b/res/css/_common.scss index bf67edc1c3..9123e5ba8d 100644 --- a/res/css/_common.scss +++ b/res/css/_common.scss @@ -170,8 +170,7 @@ textarea { font-weight: 300; font-size: 15px; position: relative; - padding-left: 58px; - padding-bottom: 36px; + padding: 0 58px 36px; width: 60%; max-width: 704px; box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2); @@ -216,14 +215,13 @@ textarea { } .mx_Dialog_content { - margin: 24px 58px 68px 0; + margin: 24px 0 68px; font-size: 14px; color: $primary-fg-color; word-wrap: break-word; } .mx_Dialog_buttons { - padding-right: 58px; text-align: right; } diff --git a/res/css/views/dialogs/_DevtoolsDialog.scss b/res/css/views/dialogs/_DevtoolsDialog.scss index 3764bb13b3..a4a868bd11 100644 --- a/res/css/views/dialogs/_DevtoolsDialog.scss +++ b/res/css/views/dialogs/_DevtoolsDialog.scss @@ -14,10 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -.mx_DevTools_dialog { - padding-right: 58px; -} - .mx_DevTools_content { margin: 10px 0; } diff --git a/res/css/views/dialogs/_ShareDialog.scss b/res/css/views/dialogs/_ShareDialog.scss index 116bef8dfd..9a2f67dea3 100644 --- a/res/css/views/dialogs/_ShareDialog.scss +++ b/res/css/views/dialogs/_ShareDialog.scss @@ -14,11 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -.mx_ShareDialog { - // this is to center the content - padding-right: 58px; -} - .mx_ShareDialog hr { margin-top: 25px; margin-bottom: 25px; diff --git a/res/css/views/dialogs/_UnknownDeviceDialog.scss b/res/css/views/dialogs/_UnknownDeviceDialog.scss index 3457e50b92..e3801e3550 100644 --- a/res/css/views/dialogs/_UnknownDeviceDialog.scss +++ b/res/css/views/dialogs/_UnknownDeviceDialog.scss @@ -20,9 +20,6 @@ limitations under the License. // is a pain in the ass. plus might as well make the dialog big given how // important it is. height: 100%; - - // position the gemini scrollbar nicely - padding-right: 58px; } .mx_UnknownDeviceDialog { @@ -51,4 +48,4 @@ limitations under the License. .mx_UnknownDeviceDialog .mx_UnknownDeviceDialog_deviceList li { height: 40px; border-bottom: 1px solid $primary-hairline-color; -} \ No newline at end of file +} diff --git a/src/components/views/dialogs/DevtoolsDialog.js b/src/components/views/dialogs/DevtoolsDialog.js index 22ee44f81a..ea198461c5 100644 --- a/src/components/views/dialogs/DevtoolsDialog.js +++ b/src/components/views/dialogs/DevtoolsDialog.js @@ -625,7 +625,7 @@ export default class DevtoolsDialog extends React.Component { let body; if (this.state.mode) { - body =
+ body =
{ this.state.mode.getLabel() }
Room ID: { this.props.roomId }
@@ -634,7 +634,7 @@ export default class DevtoolsDialog extends React.Component { } else { const classes = "mx_DevTools_RoomStateExplorer_button"; body =
-
+
{ _t('Toolbox') }
Room ID: { this.props.roomId }