question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report] Inconsistent v-icon widths

See original GitHub issue

Versions and Environment

Vuetify: 1.5.14 Vue: 2.6.10 Browsers: Chrome 74.0.3729.169 OS: Windows 10

Steps to reproduce

Create a v-icon element using Google’s Material Design icons (the default), and use mood_good as the icon. Compare the overall element width to a v-icon created using mood_bad or mood, for example.

Expected Behavior

Icon element should match the width of the icon graphic.

Actual Behavior

Icon element width is quite large, larger than the actual icon graphic. This causes issues when trying to get icons to line up next to each other in a row (as in the Codepen) or trying to center the affected icon(s) in a table cell, for example, as the icon is set to the left and the <i> container is much larger than the icon itself.

Reproduction Link

https://codepen.io/richdunajewski/pen/BerVRG

Other comments

Seems like the width roughly correlates to the width of the icon ligature name, at the given font size (before it is hidden).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
animaldcommented, Jan 30, 2020

Regardless of whether the name of the icon was correct, this issue still exists. v-icon is the width of the text you enter to get the icon, if you have two icons, one with a longer name, they occupy differing spaces.

1reaction
KaelWDcommented, May 24, 2019

Duplicate of #6781

mood_good doesn’t exist.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vicon Nexus Product Guide
Plug-in Gait enables users to produce gait analysis reports that ... The Vicon system capture rate and the Nexus memory buffer size; real-time...
Read more >
Vicon Tracker User Guide.pdf
The user interface guides you through the various tasks. When you are familiar with the basics, you can customize Tracker to look and...
Read more >
Vicon Nexus User Guide
This guide contains instructions for using Vicon Nexus. It explains configuring your Vicon system within Nexus and the basic tasks that make ...
Read more >
Vicon CaraPost Reference Guide
Document. Description. Vicon Cara User Guide. Provides system description, installation instructions. (in PDF only) and licensing instructions, and a basic.
Read more >
Vicon Nexus Reference Guide
This guide contains information about Nexus functionality that is likely to be of interest if you are already familiar with the basic procedures...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found