-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #330 from db-ui/fix-generation-index-html
fix: issue with generated icon preview
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>{{ _title }}</title> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> | ||
<link rel="stylesheet" href="index.css" /> | ||
<style> | ||
*{margin: 0;padding: 0;list-style: none;} | ||
body { color: #242629; font: 12px/1.5 tahoma, arial, \5b8b\4f53, sans-serif; } | ||
.icons { padding: 16px; margin: 0 auto; } | ||
.icons ul { text-align: center; display: grid; gap: 16px; grid-template-columns: repeat(8, 1fr); } | ||
.icons ul li { | ||
text-align: center; | ||
border-radius: 4px; | ||
border: 1px solid #242629; | ||
} | ||
.icons ul li.class-icon { font-size: 24px; line-height: 24px; padding: 16px; } | ||
.icons ul li.class-icon p{ font-size: 12px; line-height: 20px; | ||
overflow-wrap: anywhere; } | ||
</style> | ||
</head> | ||
|
||
<body> | ||
|
||
<div class="icons"> | ||
<ul> | ||
{{ _IconHtml|safe }} | ||
</ul> | ||
</div> | ||
</body> | ||
|
||
</html> |