File tree Expand file tree Collapse file tree 4 files changed +21
-8
lines changed Expand file tree Collapse file tree 4 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to the Pixel Banner plugin will be documented in this file.
4
4
5
+ ## [ 2.8.1] - 2024-11-07
6
+
7
+ ### Fixed
8
+ - Banner image overlapping with note content
9
+ - Banner image impacting absolute-positioned and floated elements
10
+
5
11
## [ 2.8.0] - 2024-11-04
6
12
7
13
### Added
Original file line number Diff line number Diff line change 1
1
## 🎉 What's New
2
2
3
+ ### v2.8.1
4
+ #### Fixed
5
+ - Banner image overlapping with note content
6
+ - Banner image impacting absolute-positioned and floated elements
7
+
3
8
### v2.8.0
4
9
#### Added
5
10
- Unsplash API support
Original file line number Diff line number Diff line change 1
1
{
2
2
"id" : " pexels-banner" ,
3
3
"name" : " Pixel Banner" ,
4
- "version" : " 2.8.0 " ,
4
+ "version" : " 2.8.1 " ,
5
5
"minAppVersion" : " 1.6.0" ,
6
6
"description" : " Apply an image from various sources as a banner to your notes." ,
7
7
"author" : " Justin Parker" ,
Original file line number Diff line number Diff line change
1
+ /* ------------------------------------------------------------------ */
2
+ /* -- configure default: move banner image to top, fade/size, etc. -- */
3
+ /* ------------------------------------------------------------------ */
1
4
@keyframes pixel-banner-image--fade-in {
2
5
from { opacity : 0 ; }
3
6
to { opacity : 1 ; }
4
7
}
5
-
6
- /* ------------------------------------------------------------------ */
7
- /* -- configure default: move banner image to top, fade/size, etc. -- */
8
- /* ------------------------------------------------------------------ */
9
8
.pixel-banner-image {
10
9
position : absolute;
11
10
top : 0 ;
23
22
will-change : opacity;
24
23
transform : translateZ (0 );
25
24
background-repeat : no-repeat;
26
- z-index : 0 ;
25
+ z-index : -1 ;
27
26
}
27
+
28
28
/* fix for banner image overlapping with note content */
29
- . pixel- banner- image ~ div {
30
- z-index : 1 ;
29
+ /* isolate the banner image from the note content */
30
+ . view-content . pixel-banner {
31
31
position : relative;
32
+ isolation : isolate;
32
33
}
34
+
33
35
.cm-sizer .metadata-container ,
34
36
.markdown-preview-sizer .metadata-container {
35
37
z-index : 1 ;
You can’t perform that action at this time.
0 commit comments