background-color: white; /* kludge, see above */
border-collapse: collapse; /* cover tbody background */
text-align: left; }
-.stickycontainer { overflow-y: clip; } /* attach to heading's container */
+.stickycontainer { overflow-y: clip; /* attach to heading's container */
+ width: fit-content; }
.stickyfooting { position: sticky; /* attach to footer */
bottom: 0;
background-color: white; /* kludge, see above */
text-align: right; }
-
+.stickyrightbar { position: sticky; /* attach to span in footer */
+ right: 0; }
/* The information on EOL normalization */
tr.eol_info > td > span > p { cursor: pointer; }
tr.eol_info > td > span > p + p { margin-left: 10%;
% endfor
<div class="stickyfooting">
<hr>
- <%self.lib:td_label for_id="show_rules_id">
- Show rules
- </%self.lib:td_label>
- <%self.lib:td_input tab_index="${tab_index}">
- <input name="show_rules"
- id="show_rules_id"
- tabindex="${tab_index.val}"
- type="checkbox"
- ${show_rules | n}
- onchange="rulesDisplay(this.checked)"
- />
- </%self.lib:td_input>
-
- <%self.lib:td_label for_id="show_spaces_id">
- Show spaces
- </%self.lib:td_label>
- <%self.lib:td_input tab_index="${tab_index}">
- <input name="show_spaces"
- id="show_spaces_id"
- tabindex="${tab_index.val}"
- type="checkbox"
- ${show_spaces | n}
- onchange="whitespaceDisplay(this.checked)"
- />
- </%self.lib:td_input>
+ <span class="stickyrightbar">
+ <%self.lib:td_label for_id="show_rules_id">
+ Show rules
+ </%self.lib:td_label>
+ <%self.lib:td_input tab_index="${tab_index}">
+ <input name="show_rules"
+ id="show_rules_id"
+ tabindex="${tab_index.val}"
+ type="checkbox"
+ ${show_rules | n}
+ onchange="rulesDisplay(this.checked)"
+ />
+ </%self.lib:td_input>
+
+ <%self.lib:td_label for_id="show_spaces_id">
+ Show spaces
+ </%self.lib:td_label>
+ <%self.lib:td_input tab_index="${tab_index}">
+ <input name="show_spaces"
+ id="show_spaces_id"
+ tabindex="${tab_index.val}"
+ type="checkbox"
+ ${show_spaces | n}
+ onchange="whitespaceDisplay(this.checked)"
+ />
+ </%self.lib:td_input>
+ </span>
</div>
</div>
</%def>