Skip to content

Commit

Permalink
A few tweaks to safety number-related UI
Browse files Browse the repository at this point in the history
* Show a pointer cursor on safety number change notification
* Add 'click to verify' to the text shown there
* Add ':' to the text shown on the safety number screen
* Limit the width of the safety number box, to force 3x4 layout
* Center the safety number box

FREEBIE
  • Loading branch information
scottnonnenberg committed May 23, 2017
1 parent 931441a commit d294cc9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions _locales/en/messages.json
Expand Up @@ -530,7 +530,7 @@
"description": "Description for safety numbers setting"
},
"keychanged": {
"message": "Your safety number with $name$ has changed.",
"message": "Your safety number with $name$ has changed. Click to verify.",
"description": "",
"placeholders": {
"name": {
Expand All @@ -540,7 +540,7 @@
}
},
"yourSafetyNumberWith": {
"message": "Your safety number with $name$",
"message": "Your safety number with $name$:",
"description": "Heading for safety number view",
"placeholders": {
"name": {
Expand Down
5 changes: 3 additions & 2 deletions stylesheets/_conversation.scss
Expand Up @@ -70,10 +70,10 @@
-webkit-user-select: text;
}
.key {
display: inline-block;
font-family: monospace;
padding: 10px;
margin-bottom: 20px;
margin: 20px auto 20px auto;
width: 16em;
background: $grey_l;
border: solid 1px $grey_l2;
border-radius: $border-radius;
Expand Down Expand Up @@ -675,6 +675,7 @@ li.entry .error-icon-container {
.message-list li.keychange {
text-align: center;
.content {
cursor: pointer;
display: inline-block;
padding: 5px 10px;
background: #fff5c4;
Expand Down
5 changes: 3 additions & 2 deletions stylesheets/manifest.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d294cc9

Please sign in to comment.