mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: enhance the one_dive per page template
- fix the layout - prevent the notes from expanding - don't overflow the text Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
c90d5b891d
commit
85bce0fa0d
1 changed files with 17 additions and 17 deletions
|
@ -16,13 +16,17 @@
|
|||
}
|
||||
|
||||
table {
|
||||
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
||||
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border:max(1px, 0.1vw);
|
||||
border-style:solid;
|
||||
}
|
||||
|
||||
td {
|
||||
padding-left: 0.5vw;
|
||||
padding-right: 0.5vw;
|
||||
}
|
||||
|
||||
.mainContainer {
|
||||
width: 96%;
|
||||
height: 100%;
|
||||
|
@ -45,8 +49,7 @@
|
|||
.diveDetails {
|
||||
width: 98%;
|
||||
height: 98%;
|
||||
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
||||
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border:max(1px, 0.1vw);
|
||||
border-style:solid;
|
||||
|
@ -54,20 +57,15 @@
|
|||
}
|
||||
|
||||
.diveProfile {
|
||||
width: 97%;
|
||||
width: 96%;
|
||||
height: 40%;
|
||||
margin: 1.5%;
|
||||
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
||||
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
||||
box-sizing: border-box;
|
||||
border:max(1px, 0.1vw);
|
||||
border-style:solid;
|
||||
margin: 2%;
|
||||
}
|
||||
|
||||
.dataSection {
|
||||
width: 97%;
|
||||
width: 98%;
|
||||
height: 40%;
|
||||
margin: 1.5%;
|
||||
margin: 1%;
|
||||
}
|
||||
|
||||
.fieldTitle {
|
||||
|
@ -77,18 +75,20 @@
|
|||
|
||||
.table_class {
|
||||
float: left;
|
||||
margin: 1.5%;
|
||||
margin: 1%;
|
||||
width: 48%;
|
||||
}
|
||||
|
||||
.notes_table_class {
|
||||
overflow: hidden;
|
||||
width: 97%;
|
||||
margin: 1.5%;
|
||||
float: left;
|
||||
width: 98%;
|
||||
margin: 1%;
|
||||
}
|
||||
|
||||
.textArea {
|
||||
line-height: {{ template_options.line_spacing }};
|
||||
max-height: 19vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
Loading…
Add table
Reference in a new issue