Improve SetIntegrationManager (#8878)
This commit is contained in:
parent
ea5616a05f
commit
7852e168a0
5 changed files with 33 additions and 24 deletions
|
@ -15,6 +15,8 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
.mx_ToggleSwitch {
|
||||
--ToggleSwitch-min-width: $font-44px;
|
||||
|
||||
transition: background-color 0.20s ease-out 0.1s;
|
||||
|
||||
width: $font-44px;
|
||||
|
|
|
@ -15,22 +15,26 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
.mx_SetIntegrationManager {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mx_SettingsFlag {
|
||||
align-items: center;
|
||||
margin-top: var(--SettingsTab_heading_nth_child-margin-top);
|
||||
|
||||
.mx_SetIntegrationManager > .mx_SettingsTab_heading {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mx_SetIntegrationManager_heading_manager {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
column-gap: $spacing-4;
|
||||
|
||||
.mx_SetIntegrationManager > .mx_SettingsTab_heading > .mx_SettingsTab_subheading {
|
||||
display: inline-block;
|
||||
padding-left: 5px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
.mx_SettingsTab_heading,
|
||||
.mx_SettingsTab_subheading {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_SetIntegrationManager .mx_ToggleSwitch {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
top: 9px;
|
||||
.mx_ToggleSwitch {
|
||||
align-self: flex-start;
|
||||
min-width: var(--ToggleSwitch-min-width); // avoid compression
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,6 +16,7 @@ limitations under the License.
|
|||
|
||||
.mx_SettingsTab {
|
||||
--SettingsTab_section-margin-bottom-preferences-labs: 30px;
|
||||
--SettingsTab_heading_nth_child-margin-top: 30px; // TODO: Use a spacing variable
|
||||
--SettingsTab_fullWidthField-margin-inline-end: 100px;
|
||||
--SettingsTab_tooltip-max-width: 120px; // So it fits in the space provided by the page
|
||||
|
||||
|
@ -38,7 +39,7 @@ limitations under the License.
|
|||
margin-bottom: 10px; // TODO: Use a spacing variable
|
||||
|
||||
&:nth-child(n + 2) {
|
||||
margin-top: 30px; // TODO: Use a spacing variable
|
||||
margin-top: var(--SettingsTab_heading_nth_child-margin-top);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue