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.

プリザンターのスタイルタブにて、「複数選択」を設定した分類項目のスタイル設定を維持したい

Posted at

はじめに

プリザンターには任意でスタイルを設定することができます。プリザンターの管理画面にて、スタイルタブでCSSを記述しますと設定が適応され、表示形式を変更することができます。例えば、色や幅など・・・。分類項目に複数選択可能な状態でCSSを記述したが、設定が反映されなかった。そのため、複数選択にしてスタイルの設定を反映させたい。

ソースコード


#Results_ClassA_ms{
    width:300px !important;
}

工夫

今回は分類A項目を複数選択にして、スタイルで幅を300pxに設定した状態を維持するようにCSSを書いた。競合が発生していたので、こちらの設定を最優先にするよう「!important」を記述。これによって、問題なくスタイルが維持されました。

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?