more margin between published and local addresses

pull/21833/head
Bruno Windels 2020-03-16 18:30:40 +01:00
parent d6ddc5096f
commit 3253d0b93d
2 changed files with 15 additions and 9 deletions

View File

@ -27,7 +27,8 @@ limitations under the License.
box-shadow: none; box-shadow: none;
} }
.mx_AliasSettings summary { .mx_AliasSettings {
summary {
cursor: pointer; cursor: pointer;
color: $accent-color; color: $accent-color;
font-weight: 600; font-weight: 600;
@ -37,4 +38,9 @@ limitations under the License.
&::-webkit-details-marker { &::-webkit-details-marker {
display: none; display: none;
} }
}
.mx_AliasSettings_localAliasHeader {
margin-top: 35px;
}
} }

View File

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