Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prism - remove on mobiles #1403

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/layouts/shortcodes/twsnippet/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{ .Inner }}
</div>
<!-- Header -->
<div class="mt-4 border-t p-4 text-center dark:border-neutral-600">
<div class="hidden md:block mt-4 border-t p-4 text-center dark:border-neutral-600">
<button
class="inline-block rounded px-4 pt-2.5 pb-2 text-xs font-medium uppercase leading-normal text-primary hover:bg-secondary-100 focus:bg-secondary-100 focus:outline-none focus:ring-0 active:text-primary-700 dark:text-primary-400 dark:hover:bg-white/10 dark:focus:bg-white/10"
data-te-collapse-init
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/shortcodes/twsnippet/no-demo.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="my-5">
<section class="my-5 hidden md:block">
<div
class="rounded-5 border-t border-l border-r bg-white dark:border-neutral-600 dark:bg-neutral-800">
<!-- Header -->
Expand Down
4 changes: 2 additions & 2 deletions site/layouts/shortcodes/twsnippet/wrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
(default slice (.Scratch.Get "hashes")) }} {{ if eq
.Page.Params.docs_content_pro true }}

<div class="mdb-pro-example">
<div class="mdb-pro-example hidden md:block">
{{end}}
<div class="docs-pills">
<div class="docs-pills hidden md:block">
<div
class="
flex
Expand Down