@brillout/docpress 0.16.13 → 0.16.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ExternalLinks.tsx CHANGED
@@ -100,6 +100,8 @@ function LinkIcon({
100
100
  style,
101
101
  iconSizeBoost = 0,
102
102
  }: { className: string; icon: string; href: string; style?: any; iconSizeBoost?: number }) {
103
+ const height = 18 + iconSizeBoost
104
+
103
105
  return (
104
106
  <>
105
107
  <a
@@ -107,7 +109,7 @@ function LinkIcon({
107
109
  href={href}
108
110
  style={{ padding: 3, display: 'inline-flex', lineHeight: 0, height: '100%', alignItems: 'center' }}
109
111
  >
110
- <img className={className} src={icon} height={18 + iconSizeBoost} style={style} />
112
+ <img className={className} src={icon} height={height} style={{ ...style, height }} />
111
113
  </a>
112
114
  </>
113
115
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.16.13",
3
+ "version": "0.16.14",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@brillout/picocolors": "^1.0.10",