Merge changes I651c570b,I0d571918
* changes: Switch padding to margin in header Fix Gerrit global scoping issue
This commit is contained in:
@@ -53,7 +53,7 @@ limitations under the License.
|
|||||||
content: "";
|
content: "";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: var(--header-icon-size);
|
height: var(--header-icon-size);
|
||||||
padding-right: calc(var(--header-icon-size) / 4);
|
margin-right: calc(var(--header-icon-size) / 4);
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
width: var(--header-icon-size);
|
width: var(--header-icon-size);
|
||||||
}
|
}
|
||||||
|
@@ -29,6 +29,7 @@ limitations under the License.
|
|||||||
// Needed for JSCompiler to understand it's global.
|
// Needed for JSCompiler to understand it's global.
|
||||||
// eslint-disable-next-line no-unused-vars, prefer-const
|
// eslint-disable-next-line no-unused-vars, prefer-const
|
||||||
let Gerrit = window.Gerrit || {};
|
let Gerrit = window.Gerrit || {};
|
||||||
|
window.Gerrit = Gerrit;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<link rel="import" href="../bower_components/polymer/polymer.html">
|
<link rel="import" href="../bower_components/polymer/polymer.html">
|
||||||
|
@@ -18,6 +18,7 @@ limitations under the License.
|
|||||||
// Needed for JSCompiler to understand it's global.
|
// Needed for JSCompiler to understand it's global.
|
||||||
// eslint-disable-next-line no-unused-vars, prefer-const
|
// eslint-disable-next-line no-unused-vars, prefer-const
|
||||||
let Gerrit = window.Gerrit || {};
|
let Gerrit = window.Gerrit || {};
|
||||||
|
window.Gerrit = Gerrit;
|
||||||
</script>
|
</script>
|
||||||
<link rel="import" href="../bower_components/polymer/polymer.html">
|
<link rel="import" href="../bower_components/polymer/polymer.html">
|
||||||
<link rel="import" href="../elements/change/gr-change-view/gr-change-view.html">
|
<link rel="import" href="../elements/change/gr-change-view/gr-change-view.html">
|
||||||
|
@@ -2,5 +2,6 @@
|
|||||||
// Needed for JSCompiler to understand it's global.
|
// Needed for JSCompiler to understand it's global.
|
||||||
// eslint-disable-next-line no-unused-vars, prefer-const
|
// eslint-disable-next-line no-unused-vars, prefer-const
|
||||||
let Gerrit = window.Gerrit || {};
|
let Gerrit = window.Gerrit || {};
|
||||||
|
window.Gerrit = Gerrit;
|
||||||
</script>
|
</script>
|
||||||
<link rel="import" href="../elements/diff/gr-diff/gr-diff.html">
|
<link rel="import" href="../elements/diff/gr-diff/gr-diff.html">
|
||||||
|
Reference in New Issue
Block a user