Skip to content

Commit

Permalink
Merge pull request #1408 from xiaoyifang/opt/css-instric-feature-remove
Browse files Browse the repository at this point in the history
opt: css feature content-visibility only available in modern style
  • Loading branch information
xiaoyifang authored Feb 27, 2024
2 parents 32391bd + 171a5b7 commit 838ec3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/stylesheets/article-style-st-classic.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ pre {
background: #fefdeb;
/*fix for invalid blg*/
font-style: normal;
content-visibility: auto;
contain-intrinsic-height: auto 600px;
}

/* CSS trick to prevent the floating elements to overflow
Expand Down
3 changes: 3 additions & 0 deletions src/stylesheets/article-style-st-modern.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ a:hover {
background: white;
padding-left: 2em;
padding-right: 2em;

content-visibility: auto;
contain-intrinsic-height: auto 600px;
}

.gdactivearticle {
Expand Down
2 changes: 0 additions & 2 deletions src/stylesheets/article-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ pre {
margin-bottom: 8px;
/*fix for invalid blg*/
font-style: normal;
content-visibility: auto;
contain-intrinsic-height: auto 600px;
}

.empty-space {
Expand Down

0 comments on commit 838ec3e

Please sign in to comment.