Style for monospace fields

This commit is contained in:
Jan Kvetina 2022-02-18 22:56:33 +01:00
parent 3e7fdd2f2a
commit ea83c90cfa
2 changed files with 7 additions and 6 deletions

View File

@ -27,7 +27,7 @@ wwv_flow_api.create_page(
wwv_flow_api.create_page_plug( wwv_flow_api.create_page_plug(
p_id=>wwv_flow_api.id(24352849275954702) p_id=>wwv_flow_api.id(24352849275954702)
,p_plug_name=>'TABS' ,p_plug_name=>'TABS'
,p_region_template_options=>'#DEFAULT#:t-TabsRegion-mod--simple' ,p_region_template_options=>'#DEFAULT#:js-useLocalStorage:t-TabsRegion-mod--simple'
,p_plug_template=>wwv_flow_api.id(9086964183569930) ,p_plug_template=>wwv_flow_api.id(9086964183569930)
,p_plug_display_sequence=>10 ,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y' ,p_include_in_reg_disp_sel_yn=>'Y'
@ -2130,7 +2130,7 @@ wwv_flow_api.create_page_item(
,p_item_plug_id=>wwv_flow_api.id(11557935913084138) ,p_item_plug_id=>wwv_flow_api.id(11557935913084138)
,p_prompt=>'Interval' ,p_prompt=>'Interval'
,p_display_as=>'NATIVE_DISPLAY_ONLY' ,p_display_as=>'NATIVE_DISPLAY_ONLY'
,p_tag_attributes=>'style="font-family: monospace;"' ,p_tag_css_classes=>'SOURCE_CODE'
,p_begin_on_new_line=>'N' ,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(9142775823569991) ,p_field_template=>wwv_flow_api.id(9142775823569991)
,p_item_template_options=>'#DEFAULT#:margin-top-none' ,p_item_template_options=>'#DEFAULT#:margin-top-none'
@ -2144,7 +2144,7 @@ wwv_flow_api.create_page_item(
,p_item_plug_id=>wwv_flow_api.id(11557935913084138) ,p_item_plug_id=>wwv_flow_api.id(11557935913084138)
,p_prompt=>'Source' ,p_prompt=>'Source'
,p_display_as=>'NATIVE_DISPLAY_ONLY' ,p_display_as=>'NATIVE_DISPLAY_ONLY'
,p_tag_attributes=>'style="font-family: monospace;"' ,p_tag_css_classes=>'SOURCE_CODE'
,p_begin_on_new_line=>'N' ,p_begin_on_new_line=>'N'
,p_field_template=>wwv_flow_api.id(9142775823569991) ,p_field_template=>wwv_flow_api.id(9142775823569991)
,p_item_template_options=>'#DEFAULT#:margin-top-none' ,p_item_template_options=>'#DEFAULT#:margin-top-none'
@ -2158,7 +2158,7 @@ wwv_flow_api.create_page_item(
,p_item_plug_id=>wwv_flow_api.id(11557935913084138) ,p_item_plug_id=>wwv_flow_api.id(11557935913084138)
,p_prompt=>'Type' ,p_prompt=>'Type'
,p_display_as=>'NATIVE_DISPLAY_ONLY' ,p_display_as=>'NATIVE_DISPLAY_ONLY'
,p_tag_attributes=>'style="font-family: monospace;"' ,p_tag_css_classes=>'SOURCE_CODE'
,p_field_template=>wwv_flow_api.id(9142775823569991) ,p_field_template=>wwv_flow_api.id(9142775823569991)
,p_item_template_options=>'#DEFAULT#:margin-top-none' ,p_item_template_options=>'#DEFAULT#:margin-top-none'
,p_attribute_01=>'N' ,p_attribute_01=>'N'

View File

@ -237,8 +237,9 @@ ul.a-ListView li.a-ListView-divider.ui-bar-inherit {
/* SHOW SOURCE CODE AS MONOSPACE */ /* SHOW SOURCE CODE AS MONOSPACE */
.SOURCE_CODE div.t-Form-itemWrapper, .SOURCE_CODE div.t-Form-itemWrapper,
.SOURCE_CODE td.t-Report-cell { .SOURCE_CODE td.t-Report-cell,
font-family: monospace; span.SOURCE_CODE {
font-family: 'Roboto Mono', monospace;
white-space: pre; white-space: pre;
} }
.SOURCE_CODE td.t-Report-cell { .SOURCE_CODE td.t-Report-cell {