MediaWiki:Gadget-copyTable.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
/* Full-widthWrapper wrapper:around theeach table is(added width:100%, soby the wrappergadget mustJS). beIt ais the block. that:
- is full-width (the table is width:100%, so the wrapper must be a block;
Do NOT use inline-block, — itwhich shrink-wraps to content and collapses the table's width:100%);
table's width:100%. position:relative anchors the copy button. */
- is the horizontal SCROLL CONTAINER (overflow-x:auto works on this block,
never on the <table> element itself);
- clears the float so the unit drops below a right-floated infobox;
- anchors the copy button (position:relative). */
.copy-table-wrapper {
position: relative;
display: block;
max-width: 100%;
clear: both;
overflow-x: auto;
}
 
Line 34 ⟶ 40:
opacity: 1;
color: #00af89;
}
 
.copy-table-wrapper {
position: relative;
display: block;
max-width: 100%;
clear: both; /* drop the whole unit (table + button) below the floated infobox */
}