MediaWiki:Gadget-mobile-scroll.css
Merk: Etter publisering vil det kanskje være nødvendig å slette mellomlageret i nettleseren din for å se endringene.
- Firefox / Safari: Hold Shift mens du klikker på Oppdater, eller trykk enten Ctrl+F5 eller Ctrl+R (⌘+R på Mac)
- Google Chrome: Trykk Ctrl+Shift+R (⌘+Shift+R på Mac)
- Internet Explorer / Edge: Hold Ctrl mens du trykker på Oppdater eller trykk Ctrl+F5
- Opera: Ttrykk Ctrl+F5.
.gadget-mf-scroll {
display: contents;
}
@media screen and ( max-width: 719px ) {
.gadget-mf-scroll {
display: block;
white-space: nowrap;
overflow-x: scroll;
scroll-snap-type: inline mandatory;
overscroll-behavior-inline: contain;
text-align: center;
margin-left: -16px;
margin-right: -16px;
}
.gadget-mf-scroll figure {
display: inline-table !important;
scroll-snap-align: center;
scroll-snap-stop: always;
white-space: normal;
margin: auto 0.5rem !important;
text-align: start;
}
.gadget-mf-scroll figure:first-of-type:not(:last-of-type) {
margin-left: 10vw !important;
}
.gadget-mf-scroll figure:last-of-type:not(:first-of-type) {
margin-right: 10vw !important;
}
}