mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
help-beta: Remove top margin from unplugin icons.
In some cases, some of the starlight css was inserting a margin top of 1rem to the svg tag inserted by unplgin-icons. We make the top margin 0 explicitly to make sure that extra margin is not added.
This commit is contained in:
committed by
Tim Abbott
parent
a738ac0ff7
commit
9c22cc07f6
@@ -16,7 +16,7 @@ export default defineConfig({
|
|||||||
// It was setting the height to 1024 and 960 for some
|
// It was setting the height to 1024 and 960 for some
|
||||||
// icons. It is better to set the height explicitly.
|
// icons. It is better to set the height explicitly.
|
||||||
defaultStyle:
|
defaultStyle:
|
||||||
"display: inline; vertical-align: text-bottom; height: 1em; width: 1em; margin-bottom: 0;",
|
"display: inline; vertical-align: text-bottom; height: 1em; width: 1em; margin-bottom: 0; margin-top: 0;",
|
||||||
customCollections: {
|
customCollections: {
|
||||||
// unplugin-icons has a FileSystemIconLoader which is more
|
// unplugin-icons has a FileSystemIconLoader which is more
|
||||||
// versatile. But it only supports one directory path for
|
// versatile. But it only supports one directory path for
|
||||||
|
|||||||
Reference in New Issue
Block a user