Skip to content

Commit d5b29f4

Browse files
stepshalgkatsev
authored andcommitted
Disallow units for zero values (#541)
1 parent a5c7105 commit d5b29f4

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

common/content/help.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ td.taglist {
4242
}
4343
td.taglist td {
4444
width: 100px;
45-
padding: 3px 0px;
45+
padding: 3px 0;
4646
}
4747
tr.taglist code, td.usage code {
48-
margin: 0px 2px;
48+
margin: 0 2px;
4949
}
5050
td.usage code {
5151
white-space: nowrap;

common/skin/liberator.css

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141
.td-span {
4242
display: inline-block;
4343
overflow: visible;
44-
width: 0px;
44+
width: 0;
4545
height: 1.5em;
4646
line-height: 1.5em !important;
4747
}
4848
.td-strut {
4949
display: inline-block;
5050
vertical-align: middle;
5151
height: 16px;
52-
width: 0px;
52+
width: 0;
5353
}
5454

5555
.extra-info { color: gray; }
@@ -91,7 +91,7 @@
9191
#liberator-completions {
9292
-moz-user-focus: ignore;
9393
overflow: -moz-scrollbars-none !important;
94-
border-width: 0px !important;
94+
border-width: 0 !important;
9595
}
9696

9797
#liberator-bottombar:-moz-lwtheme {
@@ -101,20 +101,20 @@
101101
/* all elements in the statusline and commandline need some padding to look good */
102102
#liberator-statusline {
103103
font-family: monospace;
104-
margin: 0px;
104+
margin: 0;
105105
-moz-appearance: none;
106106
border: none !important;
107107
min-height: 16px !important;
108108
}
109109
#liberator-statusline:not([customizing="true"]) :-moz-any(toolbarbutton) {
110110
border: none !important;
111-
padding: 0 0px !important;
111+
padding: 0 0 !important;
112112
background: transparent !important;
113113
height: 16px !important;
114114
}
115115
#liberator-statusline > *,
116116
#liberator-commandline > * {
117-
padding: 0px 2px;
117+
padding: 0 2px;
118118
font-family: monospace;
119119
}
120120

@@ -170,15 +170,15 @@
170170

171171
#liberator-commandline-prompt {
172172
background-color: inherit;
173-
margin: 0px;
173+
margin: 0;
174174
}
175175
#liberator-commandline-command {
176176
background-color: inherit;
177177
color: inherit;
178-
margin: 0px;
178+
margin: 0;
179179
}
180180
#liberator-message {
181-
margin: 0px;
181+
margin: 0;
182182
}
183183
.liberator-hiding {
184184
opacity: 0;
@@ -206,7 +206,7 @@
206206
#liberator-multiline-input {
207207
white-space: pre;
208208
font-family: -moz-fixed;
209-
margin: 0px;
209+
margin: 0;
210210
}
211211

212212
#liberator-completions-content *,
@@ -225,19 +225,19 @@
225225
#liberator-completions-content table,
226226
#liberator-multiline-output-content table {
227227
white-space: inherit;
228-
border-spacing: 0px;
228+
border-spacing: 0;
229229
}
230230

231231
#liberator-completions-content td,
232232
#liberator-multiline-output-content td,
233233
#liberator-completions-content th,
234234
#liberator-multiline-output-content th {
235-
padding: 0px 2px;
235+
padding: 0 2px;
236236
}
237237

238238
/* for muttator's composer */
239239
#content-frame, #appcontent {
240-
border: 0px;
240+
border: 0;
241241
}
242242

243243
#liberator-commandline-command .textbox-search-icons {

vimperator/skin/about.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
background-repeat: no-repeat;
1515
background-image: url(chrome://vimperator/content/about_background.png);
1616
background-color: green;
17-
border-spacing: 0px 10px;
17+
border-spacing: 0 10px;
1818
-moz-border-radius: 10px;
1919
}
2020

0 commit comments

Comments
 (0)