Skip to content

Commit

Permalink
export:/html2pdf: replace requirement outline with border
Browse files Browse the repository at this point in the history
  • Loading branch information
mettta committed Jul 16, 2023
1 parent cb8b552 commit cd587eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions strictdoc/export/html/_static/node.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ sdoc-node[node-style="card"][node-role="requirement"]:hover,
sdoc-node[node-style="card"] {
background-color: var(--color-bg-contrast);
border-radius: 3px;
/* compensate outline: */
padding: 1px;
padding: 0;
}

sdoc-node[node-style="card"][node-role="section"] {
Expand Down
7 changes: 2 additions & 5 deletions strictdoc/export/html/_static/requirement.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ sdoc-requirement {
gap: var(--requirement-inner-borders-width);

position: relative;
/* border: */
outline:
border:
var(--requirement-border-width, 1px)
solid
var(--requirement-border-color, #bfbfbf);
/* min-width: 300px; */
/* compensate outline: */
min-width: 298px;
min-width: 300px;
border-radius: var(--requirement-border-radius);
overflow: hidden;

Expand Down

0 comments on commit cd587eb

Please sign in to comment.