Skip to content

Conversation

karlkilgi
Copy link
Contributor

@karlkilgi karlkilgi commented Nov 14, 2019

Two things -

  1. nav-logo slot is currently hidden when allow-search="false" (search has to be present for logo)
  2. logo & search collide on the same line

Before:
Screenshot 2019-11-14 at 12 39 14

Now:
Screenshot 2019-11-14 at 12 43 57

Used following configuration:

<rapi-doc
        id="thedoc"
        spec-url="https://petstore.swagger.io/v2/swagger.json"
        render-style="read"
        schema-style="tree"
        show-header="false"
        theme="light"
>
    <div slot="nav-logo" style="display: flex">
        <img src="https://mrin9.github.io/RapiDoc/images/logo.png">
        <h1 style="margin-left:10px;">RapiDoc</h1>
    </div>
</rapi-doc>

@mrin9 mrin9 merged commit df5ca63 into rapi-doc:master Nov 14, 2019
@mrin9
Copy link
Collaborator

mrin9 commented Nov 14, 2019

Awesome, Thank you !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants