diff --git a/ux.symfony.com/assets/styles/components/_IconModal.scss b/ux.symfony.com/assets/styles/components/_IconModal.scss index 381d446f1d..5f51fa84e8 100644 --- a/ux.symfony.com/assets/styles/components/_IconModal.scss +++ b/ux.symfony.com/assets/styles/components/_IconModal.scss @@ -15,7 +15,7 @@ min-height: 1rem; max-width: 100vw; max-height: 100vh; - overflow: clip; + overflow: auto; padding: 1rem 1.5rem; background: var(--bs-body-bg); color: var(--bs-body-color); @@ -59,7 +59,6 @@ .IconModal__body { display: grid; - grid-template-columns: 300px 1fr; gap: 1.5rem; } @@ -176,7 +175,7 @@ padding: 0.35rem 0.5rem; border-radius: .5rem; border: 1px solid var(--bs-dark-border-subtle); - background: var(--bs-secondary-bg-subtle); + background: var(--bs-secondary-bg); overflow: hidden; position: relative; opacity: .8; @@ -212,7 +211,7 @@ } .IconModal__code span { - color: lightskyblue; + color: var(--bs-code-color); } .IconModal__copy { @@ -239,3 +238,20 @@ padding-top: 0; } +.IconModal__main .TabBody { + padding-block-end: 0; +} + +@media screen and (max-width: 768px) { + .IconModal { + padding: .5rem; + margin: .5rem; + width: auto; + height: auto; + } +} +@media screen and (min-width: 768px) { + .IconModal__body { + grid-template-columns: 300px 1fr; + } +} diff --git a/ux.symfony.com/assets/styles/components/_Tabs.scss b/ux.symfony.com/assets/styles/components/_Tabs.scss index b769ac56a8..1ca29f8472 100644 --- a/ux.symfony.com/assets/styles/components/_Tabs.scss +++ b/ux.symfony.com/assets/styles/components/_Tabs.scss @@ -30,7 +30,7 @@ transition: background-color 150ms ease-in-out; } .TabControl.active { - background: var(--bs-secondary-bg); + background: var(--bs-tertiary-bg); } .TabPanel {