Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 3253d0b

Browse files
committed
more margin between published and local addresses
1 parent d6ddc50 commit 3253d0b

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

res/css/views/room_settings/_AliasSettings.scss

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,20 @@ limitations under the License.
2727
box-shadow: none;
2828
}
2929

30-
.mx_AliasSettings summary {
31-
cursor: pointer;
32-
color: $accent-color;
33-
font-weight: 600;
34-
list-style: none;
35-
36-
// list-style doesn't do it for webkit
37-
&::-webkit-details-marker {
38-
display: none;
30+
.mx_AliasSettings {
31+
summary {
32+
cursor: pointer;
33+
color: $accent-color;
34+
font-weight: 600;
35+
list-style: none;
36+
37+
// list-style doesn't do it for webkit
38+
&::-webkit-details-marker {
39+
display: none;
40+
}
41+
}
42+
43+
.mx_AliasSettings_localAliasHeader {
44+
margin-top: 35px;
3945
}
4046
}

src/components/views/room_settings/AliasSettings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export default class AliasSettings extends React.Component {
381381
noItemsLabel={_t('No other published addresses yet, add one below')}
382382
placeholder={_t('New published address (e.g. #alias:server)')}
383383
/>
384-
<span className='mx_SettingsTab_subheading'>{_t("Local Addresses")}</span>
384+
<span className='mx_SettingsTab_subheading mx_AliasSettings_localAliasHeader'>{_t("Local Addresses")}</span>
385385
<p>{_t("Set addresses for this room so users can find this room through your homeserver (%(localDomain)s)", {localDomain})}</p>
386386
<details onToggle={this.onLocalAliasesToggled}>
387387
<summary>{ this.state.detailsOpen ? _t('Show less') : _t("Show more")}</summary>

0 commit comments

Comments
 (0)