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 3 years have passed since last update.

[ServiceNow]参照フィールドを確定するとスタイルが崩れる問題の対処方法

Last updated at Posted at 2020-10-02

事象

Parisにアップデート後、サービスポータルのカタログフォームで参照フィールドの選択ボックスを確定すると幅が短くなる。

確定前
確定後

プラットフォーム

Paris

参考URL

原因

参照フィールドの左側に[i]ボタンを表示させないように、下記のようなCSSを追加していたため

.add-on.ng-scope {
  display: none;
}

対処方法

対象のスタイルを削除するだけだと[i]ボタンが復活してしまいます。
参照アイコン

下記のスタイルを追加
(2020/10/03 海外のslackでHIに教えてもらったcssを共有してもらったので更新しました)

.ref-picker-container.field-has-reference .btn-default {
  display: none;
}

結果がこちら
スクリーンショット 2020-10-02 12.35.26.png

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?