зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1330977 - Flex the labels of boxes that have Learn More links on them. r=mconley
This is to make sure that the text will wrap and not force the box to have its full width. Also set white-space:nowrap on the Learn More link to prevent the short text from breaking across lines since it is expected to be such a short string in most locales. MozReview-Commit-ID: IhTKomU3WbW --HG-- extra : rebase_source : ee2d9607cdc45b05625c7d392e0c9ff5076f8454
This commit is contained in:
Родитель
eff114e84c
Коммит
0d1196f465
|
@ -209,9 +209,9 @@
|
||||||
accesskey="&enableHealthReport.accesskey;"/>
|
accesskey="&enableHealthReport.accesskey;"/>
|
||||||
</caption>
|
</caption>
|
||||||
<vbox>
|
<vbox>
|
||||||
<hbox class="indent">
|
<hbox class="indent" flex="1">
|
||||||
<label>&healthReportDesc.label;</label>
|
<label flex="1">&healthReportDesc.label;</label>
|
||||||
<label id="FHRLearnMore"
|
<label id="FHRLearnMore" flex="1"
|
||||||
class="learnMore text-link">&healthReportLearnMore.label;</label>
|
class="learnMore text-link">&healthReportLearnMore.label;</label>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox class="indent">
|
<hbox class="indent">
|
||||||
|
@ -221,9 +221,9 @@
|
||||||
label="&enableTelemetryData.label;"
|
label="&enableTelemetryData.label;"
|
||||||
accesskey="&enableTelemetryData.accesskey;"/>
|
accesskey="&enableTelemetryData.accesskey;"/>
|
||||||
</caption>
|
</caption>
|
||||||
<hbox class="indent">
|
<hbox class="indent" flex="1">
|
||||||
<label id="telemetryDataDesc">&telemetryDesc.label;</label>
|
<label id="telemetryDataDesc" flex="1">&telemetryDesc.label;</label>
|
||||||
<label id="telemetryLearnMore"
|
<label id="telemetryLearnMore" flex="1"
|
||||||
class="learnMore text-link">&telemetryLearnMore.label;</label>
|
class="learnMore text-link">&telemetryLearnMore.label;</label>
|
||||||
</hbox>
|
</hbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
|
@ -239,9 +239,9 @@
|
||||||
label="&alwaysSubmitCrashReports.label;"
|
label="&alwaysSubmitCrashReports.label;"
|
||||||
accesskey="&alwaysSubmitCrashReports.accesskey;"/>
|
accesskey="&alwaysSubmitCrashReports.accesskey;"/>
|
||||||
</caption>
|
</caption>
|
||||||
<hbox class="indent">
|
<hbox class="indent" flex="1">
|
||||||
<label>&crashReporterDesc2.label;</label>
|
<label flex="1">&crashReporterDesc2.label;</label>
|
||||||
<label id="crashReporterLearnMore"
|
<label id="crashReporterLearnMore" flex="1"
|
||||||
class="learnMore text-link">&crashReporterLearnMore.label;</label>
|
class="learnMore text-link">&crashReporterLearnMore.label;</label>
|
||||||
</hbox>
|
</hbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
|
|
|
@ -43,10 +43,10 @@ treecol {
|
||||||
min-width: 26px;
|
min-width: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* For the "learn more" links, line up after text */
|
|
||||||
.learnMore {
|
.learnMore {
|
||||||
margin-inline-start: 1.5em;
|
margin-inline-start: 1.5em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Category List */
|
/* Category List */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче