Skip to content

Increasing the size #61

Closed Answered by joseluis9595
samanamarasinghe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! You can use the styles prop of navbar-card for that, targetting whichever component you want to modify using css.

A quick example of what you are trying to achieve:

type: custom:navbar-card
...
styles: |
  .navbar {
    width: 80vw !important;
  }

  .icon {
    --mdc-icon-size: 36px;
  }

  .navbar .label {
    font-size: 15px;
  }

You can also find some quick and simple examples in the README and search for user submitted examples on the community forum

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by samanamarasinghe
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants