summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoyun Bang <soyun.bang@samsung.corp-partner.google.com>2023-10-25 16:17:34 +0900
committerSoyun Bang <soyun.bang@samsung.corp-partner.google.com>2023-10-25 16:19:37 +0900
commit0086c9445d5fbb4d1c0acad0f5286c774e6e784b (patch)
tree96ebd9ed973747e10bb710d744d14ab04c9a9f4d
parentecbbdfbba3e3a023c59dd064eff4b5d3b1982023 (diff)
downloadCaptivePortalLogin-0086c9445d5fbb4d1c0acad0f5286c774e6e784b.tar.gz
Fix letter overlap in warning message
It was adjusting the spacing between letters through the height of the container surrounding the letters. If the font size is larger than height, the letters overlap. Therefore fix to adjust the spacing between letters with margin rather than height. Bug: 303748201 Test: 1. Increase the font size as much as possible. 2. Set the mobile time to 1 year ago to induce ssl failure. 3. Connect to an AP that supports captiveportal. 4. Check if the messages overlap. Change-Id: I0efc74a05c4b6e0ff2c31cd87e5189e05f4bcca9
-rwxr-xr-xsrc/com/android/captiveportallogin/CaptivePortalLoginActivity.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java b/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
index 64f7ce5..dad67c1 100755
--- a/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
+++ b/src/com/android/captiveportallogin/CaptivePortalLoginActivity.java
@@ -939,14 +939,10 @@ public class CaptivePortalLoginActivity extends Activity {
" display:inline-block;",
" font-size:" + sp(14) + ";",
" font-weight:bold;",
- " height:48px;",
" margin-top:24px;",
" text-decoration:none;",
" text-transform:uppercase;",
" }",
- " a#cert_link {",
- " margin-top:0px;",
- " }",
" </style>",
"</head>",
"<body>",