Jump to content

MediaWiki:Common.css: Difference between revisions

Line 170: Line 170:
padding-right: 1em;
padding-right: 1em;
padding-bottom: 1em;
padding-bottom: 1em;
}
.ve-init-mw-desktopArticleTarget-originalContent {
    position: relative; /* Needed for positioning containment */
    overflow: hidden;  /* This hides any overflow */
    max-width: 100%;    /* Prevent child from going beyond */
}
.ve-init-mw-target-surface {
    max-width: 100%;    /* Don't exceed parent width */
    box-sizing: border-box; /* Respect padding and borders */
}
}