forked from buzzert/smartbar
fix namespacing with CSS
This commit is contained in:
@@ -14,16 +14,18 @@
|
||||
/* Each .sheet is one letter-sized page */
|
||||
.sheet { display: flex; gap: 0; margin: 0; padding: 0; width: 11in; height: 8.5in; }
|
||||
.cell { width: 5.5in; height: 8.5in; overflow: hidden; }
|
||||
.cell > #page { width: 5.5in; height: 8.5in; box-shadow: none !important; }
|
||||
.cell > .page-content { width: 5.5in; height: 8.5in; box-shadow: none !important; }
|
||||
.sheet { page-break-after: always; break-after: page; }
|
||||
.sheet:last-child { page-break-after: auto; break-after: auto; }
|
||||
|
||||
PLACEHOLDER_FOR_SCOPED_CSS
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{{ range .Sheets }}
|
||||
<div class="sheet">
|
||||
<div class="cell"><div id="page">{{ .Left.Content }}</div></div>
|
||||
{{ if .Right }}<div class="cell"><div id="page">{{ .Right.Content }}</div></div>{{ end }}
|
||||
<div class="cell"><div class="page-content" id="{{ .Left.PageID }}">{{ .Left.Content }}</div></div>
|
||||
{{ if .Right }}<div class="cell"><div class="page-content" id="{{ .Right.PageID }}">{{ .Right.Content }}</div></div>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user