mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-01-01 22:29:20 +03:00
Make popup work better on mobile
This commit is contained in:
@@ -10,6 +10,18 @@
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
#sponsorBlockPopupBody {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#sponsorBlockPopupBody {
|
||||||
|
margin: auto;
|
||||||
|
width: 374px;
|
||||||
|
background: var(--sb-main-bg-color);
|
||||||
|
}
|
||||||
|
|
||||||
#sponsorblockPopup {
|
#sponsorblockPopup {
|
||||||
color: var(--sb-main-fg-color);
|
color: var(--sb-main-fg-color);
|
||||||
font-family: 'Source Sans Pro', sans-serif;
|
font-family: 'Source Sans Pro', sans-serif;
|
||||||
|
|||||||
@@ -2,9 +2,11 @@
|
|||||||
<title>__MSG_openPopup__</title>
|
<title>__MSG_openPopup__</title>
|
||||||
<link id="sponsorBlockPopupFont" rel="stylesheet" type="text/css" href="/libs/Source+Sans+Pro.css">
|
<link id="sponsorBlockPopupFont" rel="stylesheet" type="text/css" href="/libs/Source+Sans+Pro.css">
|
||||||
<link id="sponsorBlockStyleSheet" rel="stylesheet" type="text/css" href="popup.css">
|
<link id="sponsorBlockStyleSheet" rel="stylesheet" type="text/css" href="popup.css">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body style="margin: auto; width: 374px; background: var(--sb-main-bg-color);">
|
<body id="sponsorBlockPopupBody">
|
||||||
<div id="sponsorblockPopup" class="sponsorBlockPageBody preload">
|
<div id="sponsorblockPopup" class="sponsorBlockPageBody preload">
|
||||||
<div class="logoText bottomSpace">
|
<div class="logoText bottomSpace">
|
||||||
<img src="icons/IconSponsorBlocker256px.png" height="40px" id="sponsorBlockPopupLogo">
|
<img src="icons/IconSponsorBlocker256px.png" height="40px" id="sponsorBlockPopupLogo">
|
||||||
|
|||||||
Reference in New Issue
Block a user