Commit 6c8e8a9e authored by dpapad's avatar dpapad Committed by Commit bot

MD Settings: Allow copying text to clipboard from the About page.

BUG=627578
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2141063003
Cr-Commit-Position: refs/heads/master@{#405248}
parent 5d98a714
......@@ -24,6 +24,10 @@
<dom-module id="settings-about-page">
<template>
<style include="settings-shared settings-page-styles">
.copyable {
-webkit-user-select: text;
}
.product-title {
font-size: 20px;
margin-bottom: auto;
......@@ -98,7 +102,7 @@
$i18n{learnMore}
</a>
</span>
<div class="secondary">$i18n{aboutBrowserVersion}</div>
<div class="secondary copyable">$i18n{aboutBrowserVersion}</div>
</div>
<span class="secondary-action">
<paper-button id="relaunch" class="secondary-button"
......@@ -144,7 +148,7 @@
Detailed build info
</div>
</if>
<div class="settings-box product-info">
<div class="settings-box product-info copyable">
<div class="info-section">
<div class="secondary">$i18n{aboutProductTitle}</div>
<div class="secondary">$i18n{aboutProductCopyright}</div>
......
......@@ -10,7 +10,11 @@
<dom-module id="settings-detailed-build-info">
<template>
<style include="settings-shared"></style>
<style include="settings-shared">
.secondary {
-webkit-user-select: text;
}
</style>
<div class="settings-box two-line">
<div class="start">
<!-- TODO(dpapad): Localize string -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment