← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 772993] [NEW] webkit handling of text fields css issue?

 

Public bug reported:

webkit prints text fields without lineeed/carriage return - bad /
impossible to read

for crm_helpdesk a quick and dirty sample report - which displays all messages in html
see attachment

for printing text fields I modified the Base Sample company CSS
and added 

.text_table {
border-color:black;
text-align:center;
border-collapse: collapse;

}
.text_table td {
border-color:gray;
border-top:0px solid gray;
text-align:left;
font-size:12;
padding-right:3px
padding-left:3px
padding-top:3px
padding-bottom:3px
}

.text_table th {
border-bottom:2px solid black;
text-align:left;
font-size:12;
font-weight:bold;
padding-right:3px
padding-left:3px
}

.text_table thead {
    display:table-header-group;
    } 

I am pretty sure that's not the way to go.
IMHO  a css directive for text fields should be added in the  Company templates
and doc should be updated
 thanks for looking into this

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/772993

Title:
  webkit handling of text fields css issue?

Status in OpenERP Modules (addons):
  New

Bug description:
  webkit prints text fields without lineeed/carriage return - bad /
  impossible to read

  for crm_helpdesk a quick and dirty sample report - which displays all messages in html
  see attachment

  for printing text fields I modified the Base Sample company CSS
  and added 

  .text_table {
  border-color:black;
  text-align:center;
  border-collapse: collapse;

  }
  .text_table td {
  border-color:gray;
  border-top:0px solid gray;
  text-align:left;
  font-size:12;
  padding-right:3px
  padding-left:3px
  padding-top:3px
  padding-bottom:3px
  }

  .text_table th {
  border-bottom:2px solid black;
  text-align:left;
  font-size:12;
  font-weight:bold;
  padding-right:3px
  padding-left:3px
  }

  .text_table thead {
      display:table-header-group;
      } 

  I am pretty sure that's not the way to go.
  IMHO  a css directive for text fields should be added in the  Company templates
  and doc should be updated
   thanks for looking into this


Follow ups

References