mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°4283 - Textarea: Make sure to use monospace font for code
- CSV import is now using monospace font - Simplify SCSS code Note: TextArea and all input UIBlocks need to be reworked as they are not properly organized, see comment in _input-text.scss
This commit is contained in:
@@ -12,13 +12,17 @@ $ibo-input-text--padding-y: 10px !default;
|
||||
width: $ibo-input-text--width;
|
||||
min-height: $ibo-input-text--min-height;
|
||||
padding: $ibo-input-text--padding-y $ibo-input-text--padding-x;
|
||||
|
||||
&.ibo-is-code {
|
||||
@extend %ibo-font-code-150;
|
||||
/* Note: There is a mic-mac in the inputs SCSS partials / PHP classes / TWIG templates. All base style should be defined in a common ancestor (AbstractInput) which should have its own BLOCK_CODE and SCSS partial; which is not the case right now.
|
||||
* We should correct this later as now is too close to the RC to make such changes.
|
||||
*/
|
||||
background-color: $ibo-input--background-color;
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-input-text--export {
|
||||
width: 100%;
|
||||
min-height: 15em;
|
||||
}
|
||||
|
||||
.ibo-query-oql, .ibo-query-oql > :not(.ibo-field--label) {
|
||||
@extend %ibo-font-code-150;
|
||||
}
|
||||
Reference in New Issue
Block a user