[RUBY] link_to A blue dot appears when nesting! How to erase

Introduction

When I specify the path using link_to, I get a strange blue dot under font awsome. スクリーンショット 2020-12-24 10.54.54.png This time I would like to erase this mysterious blue dot.

Cause

What is the identity of this blue dot? When I nested the elements with link_to, they were displayed, so I thought it might be the underline that is attached to the a tag by default.

solution

First of all, since it is displayed at the bottom right of font awsome, I tried adding text-decoration: none; to the i tag, but there is no change.

Next, I added text-decoration: none; to the a tag, but there was no change here either.

I also suspected that the a tag might not be underlined by default, but I couldn't think of any other possibilities, so I tried adding text-decoration: none! Important; to the a tag. Saw. スクリーンショット 2020-12-24 11.07.51.png It disappeared properly! !!

The bottom line is that there was a problem with CSS priorities.

Recommended Posts

link_to A blue dot appears when nesting! How to erase
How to add characters to display when using link_to method
[Java] How to erase a specific character from a character string
How to leave a comment
How to insert a video
How to create a method
How to use the link_to method
How to add columns to a table
How to make a Java container
How to sign a Minecraft MOD
How to make a JDBC driver
[Java] How to create a folder
How to make a splash screen
How to make a Jenkins plugin
How to make a Maven project
How to make a Java array
[IntelliJ IDEA] How to automatically add final when saving a Java file
How to display error messages and success messages when registering as a user
How to pass a proxy when throwing REST over SSL in Java
How to track when a bucket managed by scoop changes (mainly Java)
What to do when "call'Hoge.connection' to establish a connection" appears on rails c
How to reference a column when overriding the column name method in ActiveRecord
[Xcode] How to add a README.md file
How to sort a List using Comparator
How to make a Java calendar Summary
A memorandum on how to use Eclipse
How to redo a deployment on Heroku
[Basic] How to write a Dockerfile Self-learning ②
How to insert a video in Rails
What to do when a javax.el.PropertyNotWritableException occurs
How to add a new hash / array
[Introduction to Java] How to write a Java program
How to create a Maven repository for 2020
How to have params in link_to method
How to resolve errors when installing Rails 5.1.3
How to make a Discord bot (Java)
How to print a Java Word document
[Swift5] How to create a splash screen
[rails] How to create a partial template
How to publish a library in jCenter
[SpringBoot] How to write a controller test
How to fix a crash when deleting Realm data in Swift UI List
[Rails] When transitioning to a page with link_to, move to the specified location on the page
When defining a class, write formatTo as well as toString (how to use Formattable)