User:Sur/vector.css: Difference between revisions
m table classes added back |
m table container |
||
Line 1: | Line 1: | ||
/* Used for {{Infobox_stat}} and [[Module:HeroData]]'s write_stat_infoboxes for hero pages*/ | /* Used for {{Infobox_stat}} and [[Module:HeroData]]'s write_stat_infoboxes for hero pages */ | ||
.stat-infobox-table-container { | |||
overflow: hidden; /* Prevents the table from protruding */ | |||
border-radius: 10px; /* Matching the main box's border radius */ | |||
} | |||
.stat-infobox-table { | .stat-infobox-table { | ||
width: 100%; | width: 100%; | ||
border-collapse: | border-collapse: collapse; /* Change to collapse for better border handling */ | ||
margin-top: 10px; /* Add space above to prevent overlap with content above */ | margin-top: 10px; /* Add space above to prevent overlap with content above */ | ||
} | } |