File tree 4 files changed +4
-24
lines changed
_javascript/modules/components
4 files changed +4
-24
lines changed Original file line number Diff line number Diff line change 45
45
[ ...basicList ] . forEach ( ( elem ) => {
46
46
const svgCode = elem . textContent ;
47
47
const backup = elem . parentElement ;
48
- backup . classList . add ( 'unloaded ' ) ;
48
+ backup . classList . add ( 'd-none ' ) ;
49
49
/* create mermaid node */
50
50
let mermaid = document . createElement ( 'pre' ) ;
51
51
mermaid . classList . add ( 'mermaid' ) ;
Original file line number Diff line number Diff line change 1
1
<!-- The Search results -->
2
2
3
- < div id ="search-result-wrapper " class ="d-flex justify-content-center unloaded ">
3
+ < div id ="search-result-wrapper " class ="d-flex justify-content-center d-none ">
4
4
< div class ="col-11 content ">
5
5
< div id ="search-hints ">
6
6
{% include_cached trending-tags.html %}
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ const input = document.getElementById('search-input');
14
14
const hints = document . getElementById ( 'search-hints' ) ;
15
15
16
16
// CSS class names
17
- const LOADED = 'loaded ' ;
18
- const UNLOADED = 'unloaded ' ;
17
+ const LOADED = 'd-block ' ;
18
+ const UNLOADED = 'd-none ' ;
19
19
const FOCUS = 'input-focus' ;
20
20
const FLEX = 'd-flex' ;
21
21
Original file line number Diff line number Diff line change @@ -596,26 +596,6 @@ main {
596
596
597
597
/* --- Effects classes --- */
598
598
599
- .loaded {
600
- display : block !important ;
601
-
602
- @at-root .d-flex #{&} {
603
- display : flex !important ;
604
- }
605
- }
606
-
607
- .unloaded {
608
- display : none !important ;
609
- }
610
-
611
- .visible {
612
- visibility : visible !important ;
613
- }
614
-
615
- .hidden {
616
- visibility : hidden !important ;
617
- }
618
-
619
599
.flex-grow-1 {
620
600
flex-grow : 1 !important ;
621
601
}
You can’t perform that action at this time.
0 commit comments