mirror of
https://github.com/eatcodeplay/obsidian-simple-banner.git
synced 2026-07-22 05:48:13 +00:00
fix: css errors caused by last update
This commit is contained in:
parent
a6e6297c31
commit
f2c6ab3aca
5 changed files with 583 additions and 520 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "simple-banner",
|
||||
"name": "Simple Banner",
|
||||
"version": "0.5.7",
|
||||
"version": "0.5.8",
|
||||
"minAppVersion": "1.8.9",
|
||||
"description": "Visually enhance your notes with a customizable banner. Supports icons and time/date display.",
|
||||
"author": "Sandro Ducceschi",
|
||||
|
|
|
|||
1092
package-lock.json
generated
1092
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "simple-banner",
|
||||
"version": "0.5.7",
|
||||
"version": "0.5.8",
|
||||
"description": "Visually enhance your notes with a customizable banner. Supports icons and time/date display.",
|
||||
"main": "dist/main.js",
|
||||
"scripts": {
|
||||
|
|
@ -21,8 +21,8 @@
|
|||
"@typescript-eslint/parser": "5.29.0",
|
||||
"builtin-modules": "3.3.0",
|
||||
"dotenv": "^16.5.0",
|
||||
"esbuild": "0.17.3",
|
||||
"esbuild-sass-plugin": "2.4.5",
|
||||
"esbuild": "^0.25.5",
|
||||
"esbuild-sass-plugin": "^3.3.1",
|
||||
"obsidian": "latest",
|
||||
"tslib": "2.4.0",
|
||||
"typescript": "4.7.4"
|
||||
|
|
|
|||
|
|
@ -247,6 +247,7 @@ export default class SimpleBanner extends Plugin {
|
|||
vars['radius'] = `${radius[0]}px ${radius[1]}px ${radius[2]}px ${radius[3]}px`;
|
||||
vars['padding'] = `${padding}px`;
|
||||
vars['mask'] = (fade) ? CSSValue.RevertLayer : CSSValue.Initial;
|
||||
vars['mask-webkit'] = (fade) ? CSSValue.RevertLayer : CSSValue.Initial;
|
||||
|
||||
if (settings.iconEnabled) {
|
||||
const iconSize = settings.iconSize;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ div.simple-banner {
|
|||
align-items: var(--sb-icon-align-v);
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
z-index: 2;
|
||||
z-index: 4;
|
||||
margin: 0 auto;
|
||||
max-width: var(--file-line-width);
|
||||
transform: translate(0, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue