File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 22import ' ../css/layers.css' ;
33import ' ../css/fonts.css' ;
44
5- import { UIIcon } from ' @semantic-ui/core' ;
5+ import { UICard , UIIcon } from ' @semantic-ui/core' ;
66import Body from ' ./Body.astro' ;
77import Sidebar from ' @components/Sidebar.astro' ;
88import DocsMasthead from ' @components/DocsMasthead.astro' ;
@@ -69,26 +69,26 @@ const activeURL = Astro.url.pathname;
6969 <div class = " traversal" >
7070 <ui-container >
7171 { pageTraversal .previous && (
72- <ui-card href = { pageTraversal .previous .url } previous >
72+ <UICard fluid href = { pageTraversal .previous .url } previous >
7373 <div class = " label" >
7474 <ui-icon icon = " left chevron" ></ui-icon >
7575 Previous
7676 </div >
7777 <div class = " header" >
7878 { pageTraversal .previous .name }
7979 </div >
80- </ui-card >
80+ </UICard >
8181 )}
8282 { pageTraversal .next && (
83- <ui-card href = { pageTraversal .next .url } next >
83+ <UICard fluid href = { pageTraversal .next .url } next >
8484 <div class = " label" >
8585 Next
8686 <ui-icon icon = " right chevron" ></ui-icon >
8787 </div >
8888 <div class = " header" >
8989 { pageTraversal .next .name }
9090 </div >
91- </ui-card >
91+ </UICard >
9292 )}
9393 </ui-container >
9494 </div >
Original file line number Diff line number Diff line change 7676
7777 ui-container {
7878 display : flex;
79-
79+ gap : 2 rem ;
8080 }
8181
8282 ui-card {
8383 text-align : left;
84- min-width : 300px ;
84+ width : 50% ;
85+
86+ flex-grow : 1 ;
8587 .label {
8688 color : var (--primary-text-color );
8789 font-weight : bold;
88- font-size : var (--small );
90+ font-size : var (--large );
8991 transition : var (--transition );
9092 }
9193 .header {
9294 color : var (--standard-60 );
93- font-size : var (--large );
95+ font-size : var (--huge );
9496 font-weight : var (--bold );
9597 transition : var (--transition );
9698 }
9799 }
98100
99101 [previous ] {
100- margin-right : auto ;
102+ text-align : left ;
101103 }
102104 [next ]{
103- margin-left : auto;
104105 text-align : right;
105106 }
106107 }
You can’t perform that action at this time.
0 commit comments