rlmv/gitbook-plugin-anchors

Anchor icon font-size is overridden (too large)

harigopal opened this issue · 4 comments

We're using Gitbook v2.6.5, and plugin version 0.5.0, and the anchor icon is too large.

anchors plugin bug

The font-size property for the span appears to be overridden by higher specificity CSS from Gitbook itself.

I've hacked a fix for it by including some extra CSS into our book:

a.plugin-anchor span {
  font-size: 15px !important;
}

I'm not sure whether using !important is the right approach, but it works. :-/

simov commented

👍 same issue here

rlmv commented

Ok, thanks for the report. I'll take a look at it!

Same issue!

rlmv commented

I've just published a new version (0.6.0) which fixes this issue. Cheers!