Ensure the max width value of the tooltip is used only on settings tabs (#8880)
This commit is contained in:
parent
814ca6811c
commit
3ecf7e1065
3 changed files with 3 additions and 6 deletions
|
@ -705,11 +705,6 @@ legend {
|
|||
margin-right: 100px;
|
||||
}
|
||||
|
||||
@define-mixin mx_Settings_tooltip {
|
||||
// So it fits in the space provided by the page
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
@define-mixin ProgressBarColour $colour {
|
||||
color: $colour;
|
||||
&::-moz-progress-bar {
|
||||
|
|
|
@ -19,5 +19,5 @@ limitations under the License.
|
|||
}
|
||||
|
||||
.mx_SetIdServer_tooltip {
|
||||
@mixin mx_Settings_tooltip;
|
||||
max-width: var(--SettingsTab_tooltip-max-width);
|
||||
}
|
||||
|
|
|
@ -16,6 +16,8 @@ limitations under the License.
|
|||
|
||||
.mx_SettingsTab {
|
||||
--SettingsTab_section-margin-bottom-preferences-labs: 30px;
|
||||
--SettingsTab_tooltip-max-width: 120px; // So it fits in the space provided by the page
|
||||
|
||||
color: $primary-content;
|
||||
|
||||
a {
|
||||
|
|
Loading…
Reference in a new issue