diff --git a/res/css/views/settings/tabs/user/_HelpUserSettingsTab.scss b/res/css/views/settings/tabs/user/_HelpUserSettingsTab.scss index 3779162223..c03de9f36c 100644 --- a/res/css/views/settings/tabs/user/_HelpUserSettingsTab.scss +++ b/res/css/views/settings/tabs/user/_HelpUserSettingsTab.scss @@ -15,16 +15,17 @@ See the License for the specific language governing permissions and limitations under the License. */ -.mx_HelpUserSettingsTab_debugButton { - margin-bottom: 5px; - margin-top: 5px; -} +.mx_HelpUserSettingsTab { + code { + word-break: break-all; + user-select: all; + } -.mx_HelpUserSettingsTab span.mx_AccessibleButton { - word-break: break-word; -} + details { + margin: $spacing-16 auto; -.mx_HelpUserSettingsTab code { - word-break: break-all; - user-select: all; + summary { + margin-bottom: $spacing-16; + } + } } diff --git a/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx b/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx index 45ffa3e8ba..c4e0e5d87f 100644 --- a/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx +++ b/src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx @@ -110,7 +110,7 @@ export default class HelpUserSettingsTab extends React.Component } return ( -
+
{ _t("Legal") }
{ legalLinks } @@ -125,7 +125,7 @@ export default class HelpUserSettingsTab extends React.Component return ( + + { _t("Submit debug logs") } + +
{ _t( "To report a Matrix-related security issue, please read the Matrix.org " + "Security Disclosure Policy.", {}, @@ -280,7 +280,7 @@ export default class HelpUserSettingsTab extends React.Component { _t("Keyboard Shortcuts") }
-
+
{ _t("Versions") }
@@ -292,25 +292,22 @@ export default class HelpUserSettingsTab extends React.Component
{ this.renderLegal() } { this.renderCredits() } -
+
{ _t("Advanced") }
- { _t("Homeserver is") } { MatrixClientPeg.get().getHomeserverUrl() }
- { _t("Identity server is") } { MatrixClientPeg.get().getIdentityServerUrl() }
-
+
{ _t("Homeserver is") } { MatrixClientPeg.get().getHomeserverUrl() }
+
{ _t("Identity server is") } { MatrixClientPeg.get().getIdentityServerUrl() }
- { _t("Access Token") }
+ { _t("Access Token") } { _t("Your access token gives full access to your account." + " Do not share it with anyone.") } MatrixClientPeg.get().getAccessToken()}> { MatrixClientPeg.get().getAccessToken() } -

-
- - { _t("Clear cache and reload") } - -
+ + + { _t("Clear cache and reload") } +