Skip to content

Commit

Permalink
Merge pull request #11 from mulesoft/support-code-in-button-primary
Browse files Browse the repository at this point in the history
DOCSINFRA-173 styles for code in button-primary
  • Loading branch information
Steven Leslie authored Jan 13, 2020
2 parents 9a08cdc + 4b44096 commit 8d3958d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion preview-site-src/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The *Anypoint Connector DevKit*, or simply *DevKit*, enables the development of link:#[Anypoint Connectors].
An *Anypoint Connector* is an extension module to the MuleSoft Anypoint Platform that facilitates communication between third-party systems/APIs and Mule applications.

https://asciidoctor.org/docs/asciidoc-writers-guide/[*Primary button*^,role=button-primary]
https://asciidoctor.org/docs/asciidoc-writers-guide/[*Open `hello-world.raml`*^,role=button-primary]

[NOTE]
====
Expand Down
9 changes: 9 additions & 0 deletions src/css/components/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,12 @@
outline: 0;
}
}

/* overrides when button is in a doc */
.doc .button-primary code {
background: none;
border: 0;
font-weight: var(--weight-normal);
padding: 0;
top: 0; /* reset */
}

0 comments on commit 8d3958d

Please sign in to comment.