MediaWiki:Gadget-copyTable.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1:
/* Full-widthOuter wrapper: thearound each table is(added width:100%, soby the wrappergadget mustJS). beIt adoes block.NOT scroll;
it anchors the pinned copy button (position:relative), is full-width, and clears
Do NOT use inline-block — it shrink-wraps to content and collapses the
table'sa width:100%.right-floated position:relativeinfobox anchorsso the copyunit buttondrops below it. */
.copy-table-wrapper {
position: relative;
display: block;
max-width: 100%;
clear: both;
}
 
/* Inner box that actually scrolls horizontally. overflow-x works here because it
is a block div — never on the <table> element itself. The button is its sibling
(in the non-scrolling wrapper), so it stays put while this box scrolls. */
.copy-table-scroll {
overflow-x: auto;
}
 
Line 13 ⟶ 21:
top: 0px;
right: 0px;
padding: 0px5px;
line-height: 1;
border: 1px solid transparent;