|
69 | 69 | l.classList.add("tooltipped", "tooltipped-n"); |
70 | 70 | l.setAttribute("aria-label", "Show commit compare buttons"); |
71 | 71 | l.style.cssText = ` |
72 | | - float: left; |
73 | | - padding: 3px 10px; |
74 | | - font-size: 12px; |
75 | | - font-weight: 600; |
76 | | - line-height: 20px; |
77 | | - color: #24292e; |
78 | | - vertical-align: middle; |
79 | | - background-color: #fff; |
80 | | - border: 1px solid rgba(27,31,35,0.2); |
81 | | - border-right: 0; |
82 | | - border-top-left-radius: 3px; |
83 | | - border-bottom-left-radius: 3px; |
84 | | - `; |
| 72 | + float: left; |
| 73 | + padding: 3px 10px; |
| 74 | + font-size: 12px; |
| 75 | + font-weight: 600; |
| 76 | + line-height: 20px; |
| 77 | + color: #24292e; |
| 78 | + vertical-align: middle; |
| 79 | + background-color: #fff; |
| 80 | + border: 1px solid rgba(27,31,35,0.2); |
| 81 | + border-right: 0; |
| 82 | + border-top-left-radius: 3px; |
| 83 | + border-bottom-left-radius: 3px; |
| 84 | + `; |
85 | 85 | l.appendChild(c); |
86 | 86 |
|
87 | 87 | const p = document.createElementNS( |
|
117 | 117 | a.setAttribute("rel", "nofollow"); |
118 | 118 | a.setAttribute("aria-label", "Compare these commits"); |
119 | 119 | a.style.cssText = ` |
120 | | - border-top-left-radius: 0; |
121 | | - border-bottom-left-radius: 0; |
122 | | - font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; |
123 | | - `; |
| 120 | + border-top-left-radius: 0; |
| 121 | + border-bottom-left-radius: 0; |
| 122 | + font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; |
| 123 | + `; |
124 | 124 | a.appendChild(s); |
125 | 125 | a.appendChild(document.createElement("span")); |
126 | 126 |
|
|
0 commit comments