Skip to content

Commit

Permalink
update backbone
Browse files Browse the repository at this point in the history
  • Loading branch information
Quicksaver committed Sep 28, 2015
1 parent 2d7ac32 commit c17d8fa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 12 additions & 0 deletions chrome/skin/common/utils/preferences.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ colorpicker * {
transition: none;
}

[DnDpref] .DnDpref-item-container .DnDpref-icon-container {
/* icon margin + icon height + label height + label margin */
min-height: calc(53px + 2.2em);
}

[DnDpref] .DnDpref-item-container .DnDpref-icon {
height: 32px;
width: 32px;
Expand Down Expand Up @@ -117,7 +122,14 @@ colorpicker * {
}

[DnDpref] .DnDpref-item-container .DnDpref-label {
line-height: 1.1;
min-height: 2.2em;
max-height: 2.2em;
clip: rect(auto, auto, 2.3em, auto);
margin-top: 2px;
margin-bottom: 3px;
text-align: center;
-moz-hyphens: auto;
}

/* footer controls */
Expand Down
5 changes: 3 additions & 2 deletions resource/modules/utils/DnDprefs.jsm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Modules.VERSION = '1.0.0';
Modules.VERSION = '1.0.1';
Modules.UTILS = true;

// DnDprefs - this is an adaptation of the browser's gCustomizeMode - http://mxr.mozilla.org/mozilla-central/source/browser/components/customizableui/CustomizeMode.jsm
Expand Down Expand Up @@ -308,7 +308,8 @@ this.DnDprefs = {

let label = doc.createElement('label');
label.classList.add('DnDpref-label');
setAttribute(label, 'value', aLabel);
let text = doc.createTextNode(aLabel);
label.appendChild(text);

let enable = doc.createElement('checkbox');
enable.classList.add('DnDpref-enable');
Expand Down

0 comments on commit c17d8fa

Please sign in to comment.