File tree Expand file tree Collapse file tree 4 files changed +8
-14
lines changed
Expand file tree Collapse file tree 4 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 249249 & __panel {
250250 height : 100% ;
251251 overflow : auto ;
252-
253- & [data-type = " downloaded" ] .config-bazaar__content {
254- margin : 16px ;
255- }
256252 }
257253
258254 & __title {
264260 }
265261
266262 & __content {
267- display : grid ;
268- gap : 16px ;
263+ margin : 1px 16px ;
269264 }
270265
271266 & __readme {
Original file line number Diff line number Diff line change 1818 display : grid ;
1919 gap : 16px ;
2020 grid-template-columns : repeat (auto-fill , minmax (min (100% , 342px ), 1fr ));
21- margin : 16px ;
21+
22+ & --nowrap {
23+ grid-template-columns :1fr ;
24+ }
2225 }
2326
2427 & --current {
6770 line-height : 14px ;
6871 padding : 3px 11px 11px ;
6972
70- & :not (.b3-card__actions--right ) .block__icon {
71- color : var (--b3-theme-on-surface-light );
72- }
73-
7473 & --right {
7574 padding-left : 0 ;
7675 padding-bottom : 0 ;
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export const bazaar = {
101101 <input ${ window . siyuan . config . bazaar . petalDisabled ? "" : " checked" } data-type="plugins-enable" type="checkbox" class="b3-switch fn__flex-center" style="margin-right: 8px">
102102 <div class="counter counter--bg fn__none fn__flex-center ariaLabel" data-position="north" aria-label="${ window . siyuan . languages . total } "></div>
103103 </div>
104- <div id="configBazaarDownloaded" class="config-bazaar__content">
104+ <div id="configBazaarDownloaded" class="config-bazaar__content b3-cards b3-cards--nowrap ">
105105 ${ loadingHTML }
106106 </div>
107107 </div>
@@ -359,7 +359,7 @@ export const bazaar = {
359359 <span class="fn__space"></span>
360360 <div class="counter counter--bg fn__flex-center ariaLabel" data-position="north" aria-label="${ window . siyuan . languages . total } ">${ allCount } </div>
361361</div>
362- <div class="config-bazaar__content">${ html } </div>` ;
362+ <div class="config-bazaar__content b3-cards b3-cards--nowrap ">${ html } </div>` ;
363363 } ) ;
364364 } ,
365365 _genMyHTML ( bazaarType : TBazaarType , app : App , updateUpdate = true ) {
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ export class Background {
266266 } ) ;
267267 const dialog = new Dialog ( {
268268 title : window . siyuan . languages . builtIn ,
269- content : `<div class="b3-cards">${ html } </div>` ,
269+ content : `<div class="b3-cards" style="padding: 16px" >${ html } </div>` ,
270270 width : isMobile ( ) ? "92vw" : "912px" ,
271271 height : isMobile ( ) ? "80vh" : "70vh" ,
272272 } ) ;
You can’t perform that action at this time.
0 commit comments