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 @@ ...@@ -24,6 +24,10 @@
<dom-module id="settings-about-page"> <dom-module id="settings-about-page">
<template> <template>
<style include="settings-shared settings-page-styles"> <style include="settings-shared settings-page-styles">
.copyable {
-webkit-user-select: text;
}
.product-title { .product-title {
font-size: 20px; font-size: 20px;
margin-bottom: auto; margin-bottom: auto;
...@@ -98,7 +102,7 @@ ...@@ -98,7 +102,7 @@
$i18n{learnMore} $i18n{learnMore}
</a> </a>
</span> </span>
<div class="secondary">$i18n{aboutBrowserVersion}</div> <div class="secondary copyable">$i18n{aboutBrowserVersion}</div>
</div> </div>
<span class="secondary-action"> <span class="secondary-action">
<paper-button id="relaunch" class="secondary-button" <paper-button id="relaunch" class="secondary-button"
...@@ -144,7 +148,7 @@ ...@@ -144,7 +148,7 @@
Detailed build info Detailed build info
</div> </div>
</if> </if>
<div class="settings-box product-info"> <div class="settings-box product-info copyable">
<div class="info-section"> <div class="info-section">
<div class="secondary">$i18n{aboutProductTitle}</div> <div class="secondary">$i18n{aboutProductTitle}</div>
<div class="secondary">$i18n{aboutProductCopyright}</div> <div class="secondary">$i18n{aboutProductCopyright}</div>
......
...@@ -10,7 +10,11 @@ ...@@ -10,7 +10,11 @@
<dom-module id="settings-detailed-build-info"> <dom-module id="settings-detailed-build-info">
<template> <template>
<style include="settings-shared"></style> <style include="settings-shared">
.secondary {
-webkit-user-select: text;
}
</style>
<div class="settings-box two-line"> <div class="settings-box two-line">
<div class="start"> <div class="start">
<!-- TODO(dpapad): Localize string --> <!-- 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