From 74f7bd599ce5422bdc23803bb7a49b43ed185f8a Mon Sep 17 00:00:00 2001 From: Segundo Fdez Date: Wed, 4 May 2022 21:01:06 +0200 Subject: [PATCH] Fix pre on ligth mode --- .../css/css/main.css_abdeb689137b085b8cf50bb0fe96e360.content | 4 +++- src/themes/oscar/assets/css/modules/about.css | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/resources/_gen/assets/css/css/main.css_abdeb689137b085b8cf50bb0fe96e360.content b/src/resources/_gen/assets/css/css/main.css_abdeb689137b085b8cf50bb0fe96e360.content index fbe8dd5..42da277 100644 --- a/src/resources/_gen/assets/css/css/main.css_abdeb689137b085b8cf50bb0fe96e360.content +++ b/src/resources/_gen/assets/css/css/main.css_abdeb689137b085b8cf50bb0fe96e360.content @@ -711,7 +711,9 @@ i, em { margin-bottom: var(--spacing-8); } .about .highlight pre { - background-color: transparent !important; + padding: var(--spacing-3); + overflow-x: auto; + border-radius: 10px; } .pagination { border-top: 1px solid var(--color-main-medium); diff --git a/src/themes/oscar/assets/css/modules/about.css b/src/themes/oscar/assets/css/modules/about.css index c19606e..6c321ee 100644 --- a/src/themes/oscar/assets/css/modules/about.css +++ b/src/themes/oscar/assets/css/modules/about.css @@ -2,7 +2,9 @@ .highlight { margin-bottom: var(--spacing-8); pre { - background-color: transparent !important; + padding: var(--spacing-3); + overflow-x: auto; + border-radius: 10px; } } } \ No newline at end of file