diff --git a/docs/dokka-presets/css/aws-styles.css b/docs/dokka-presets/css/aws-styles.css index e70bdfe2b0f..b1db578b45a 100644 --- a/docs/dokka-presets/css/aws-styles.css +++ b/docs/dokka-presets/css/aws-styles.css @@ -77,4 +77,24 @@ div .compiler-info, .fold-button, .run-button { height: auto; opacity: 1; z-index: 999; /* Ensure the skip link is on top of other content */ +} + +.content .symbol .monospace { + white-space: pre-wrap; + word-wrap: break-word; + overflow-wrap: break-word; +} + +.aws-toggle-content-btn { + font-size: 24px; + background: none; + border: none; + cursor: pointer; + padding: 8px; +} + +@media (max-width: 320px) { + .content[data-togglable] { + display: none; + } } \ No newline at end of file diff --git a/docs/dokka-presets/templates/base.ftl b/docs/dokka-presets/templates/base.ftl index c57f7fd0bd7..1d68f65c36d 100644 --- a/docs/dokka-presets/templates/base.ftl +++ b/docs/dokka-presets/templates/base.ftl @@ -112,6 +112,58 @@ } +