Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: chrome/browser/resources/settings/internet_page/network_siminfo.html

Issue 2303093003: MD Settings: Internet: Enable SIM unlock with no cellular network (Closed)
Patch Set: Feedback Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/internet_page/network_siminfo.html
diff --git a/chrome/browser/resources/settings/internet_page/network_siminfo.html b/chrome/browser/resources/settings/internet_page/network_siminfo.html
index 9a374b5c9c79efff6f5d7b4a6cef74d117c20113..192fb01f9355c6c09aefca1cd914f79b7c7cc437 100644
--- a/chrome/browser/resources/settings/internet_page/network_siminfo.html
+++ b/chrome/browser/resources/settings/internet_page/network_siminfo.html
@@ -35,10 +35,19 @@
.puk {
min-width: 200px;
}
+
+ /* Siminfo is embedded; remove the padding. */
+ .settings-box {
+ padding: 0;
+ }
+
+ .settings-box:first-of-type {
+ border-top: none;
+ }
</style>
<!-- SIM missing UI -->
- <div class="settings-box"
+ <div class="settings-box two-line"
hidden$="[[networkProperties.Cellular.SIMPresent]]">
<div class="start layout horizontal center">
<iron-icon icon="settings:sim-card-alert"></iron-icon>
@@ -47,7 +56,8 @@
</div>
<!-- SIM locked -->
- <div class="settings-box" hidden$="[[!showSimLocked_(networkProperties)]]">
+ <div class="settings-box two-line"
+ hidden$="[[!showSimLocked_(networkProperties)]]">
<div class="start layout horizontal center">
<iron-icon icon="settings:lock"></iron-icon>
<div class="error">$i18n{networkSimCardLocked}</div>
@@ -60,7 +70,7 @@
</div>
<!-- SIM unlocked -->
- <div class="settings-box"
+ <div class="settings-box two-line"
hidden$="[[!showSimUnlocked_(networkProperties)]]">
<paper-checkbox class="start" on-change="onSimLockEnabledChange_"
checked="[[networkProperties.Cellular.SIMLockStatus.LockEnabled]]">

Powered by Google App Engine
This is Rietveld 408576698