Skip to content

Commit

Permalink
Added tab-text shortcode - p with padding : 1rem
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-litvinchik committed May 2, 2024
1 parent de60101 commit 009f9e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/hugo-geekdoc/layouts/partials/head/others.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@

<link
rel="preload"
href="/custom.css?v=23.4.0"
href="/custom.css?v=24.4.0"
as="style"
/>
<link
rel="stylesheet"
href="/custom.css?v=23.4.0"
href="/custom.css?v=24.4.0"
media="all"
/>

Expand Down
1 change: 1 addition & 0 deletions themes/hugo-geekdoc/layouts/shortcodes/tab-text.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p class="gdoc-tab-text">{{ .Inner | $.Page.RenderString }}</p>
6 changes: 6 additions & 0 deletions themes/hugo-geekdoc/static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@ h5 > svg.gdoc-icon { margin-right: 5px; }
#DynabicMenuInnerDiv{ display:none; }
#dvMenuFooter{ display:none; }
}

/* tab-text shortcode */

.gdoc-tab-text {
padding: 1rem;
}

0 comments on commit 009f9e9

Please sign in to comment.