0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

kintoneプラグインでbootstrapを適用するとメニューにアンダーラインが入る問題をcssで解消

Posted at

最近はkintoneプラグインばかり作っている本橋です。今回は小ネタ。

プラグインで画面を作るときにスタイル指定とかはあんまり凝りたくないのでbootstrapを使います。

そうすると、bootstrapのcssがあらゆるアンカーリンクにアンダーラインを入れてしまう問題に遭遇します。

image.png

このへんとか、

image.png

このへんとかにアンダーラインが入って嫌ですね。

対処法

cssに下記のスタイルを加えて解消しました。

/** bootstrap対策 */
.gaia-argoui-menuitem, .gaia-argoui-pulldown-item-text, .gaia-argoui-pulldown-item {
    text-decoration-line: none !important;
}

僕の場合は ./plugin/css の中に config.css とか desktop.css とか置いているので、それぞれに追記しています。

以上、小ネタでした。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?