File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' hexo-theme-cupertino ' : patch
3+ ---
4+
5+ Fix gutter of code block scrollable.
Original file line number Diff line number Diff line change 22
33.gutter {
44 color : var (--color-text-tertiary );
5+ background-color : var (--color-background-secondary );
56 user-select : none ;
67}
78
Original file line number Diff line number Diff line change @@ -222,7 +222,8 @@ body {
222222 background-color : var (--color-background-secondary );
223223 border-radius : var (--radius-medium );
224224 @include utilities .corner-squircle ;
225- max-width : calc (800px - 16px * 2 );
225+ padding : 0 ;
226+ max-width : 800px ;
226227
227228 @media (max-width : 800px ) {
228229 border-radius : 0 ;
@@ -235,7 +236,10 @@ body {
235236 }
236237
237238 .gutter {
238- padding-right : 16px ;
239+ padding-left : 16px ;
240+ position : sticky ;
241+ left : 0 ;
242+ text-align : right ;
239243 }
240244 }
241245
You can’t perform that action at this time.
0 commit comments