We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1ff863 commit 318b6efCopy full SHA for 318b6ef
3 files changed
inst/pkgdown/assets/BS5/gitdevr.css
@@ -295,12 +295,23 @@ code {
295
}
296
297
@media (max-width: 575.98px) {
298
- div > pre {
299
- margin-left: calc(var(--bs-gutter-x) * -0.5);
300
- margin-right: calc(var(--bs-gutter-x) * -0.5);
301
- border-radius: 0;
302
- padding-left: 1rem;
303
- padding-right: 1rem;
+ @media (max-width: 575.98px) {
+ /* See https://github.com/r-lib/pkgdown/pull/2970 */
+
+ div > pre {
+ border-radius: 0;
+ }
304
305
+ :not(li, blockquote) > div > pre {
306
+ margin-left: calc(var(--bs-gutter-x) * -0.5);
307
+ margin-right: calc(var(--bs-gutter-x) * -0.5);
308
+ padding-left: 1rem;
309
+ padding-right: 1rem;
310
311
312
+ :not(li, blockquote) > div > .btn-copy-ex {
313
+ right: calc(var(--bs-gutter-x) * -0.5 + 5px);
314
315
316
317
0 commit comments