Paar, F. (Ferdinand) commited on
Commit
7d10b52
·
1 Parent(s): 30023ba

thubnail filled and layer head box next to each other

Browse files
Files changed (1) hide show
  1. frontend/script.js +1 -1
frontend/script.js CHANGED
@@ -174,7 +174,7 @@ function createAttentionThumbnail(data, layerIdx, headIdx) {
174
 
175
  const maxLineWidth = 4;
176
  const maxOpacity = 0.8;
177
- const xRight = width - padding;
178
 
179
  // Create a thumbnail container using D3.
180
  const thumbnail = d3.select(document.createElement("div"))
 
174
 
175
  const maxLineWidth = 4;
176
  const maxOpacity = 0.8;
177
+ const xRight = width - 10;
178
 
179
  // Create a thumbnail container using D3.
180
  const thumbnail = d3.select(document.createElement("div"))