File tree Expand file tree Collapse file tree 5 files changed +25
-24
lines changed
algorithmsList/algorithmCard Expand file tree Collapse file tree 5 files changed +25
-24
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,12 @@ export default function AlgorithmCard({ algorithm }: { algorithm: Algorithm }) {
21
21
22
22
return (
23
23
< Card
24
- className = { `AlgorithmCard__div elevateOnHover ${ classes . stretchedCard } ` }
24
+ className = { `elevateOnHover ${ classes . stretchedCard } ` }
25
25
>
26
26
< CardContent >
27
- < Breadcrumbs >
27
+ < Breadcrumbs
28
+ className = { classes . breadcrumbs }
29
+ >
28
30
{ algorithm . categories . map ( ( category ) => (
29
31
< Typography
30
32
variant = "h6"
Original file line number Diff line number Diff line change 42
42
flex-direction : column;
43
43
justify-content : space-between;
44
44
}
45
+
46
+ : global (html [lang = ar ]) .breadcrumbs ,
47
+ : global (html [lang = ar ]) .title {
48
+ direction : ltr;
49
+ }
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export default function Jumbo() {
62
62
< SearchBar
63
63
query = { query }
64
64
setQuery = { setQuery }
65
- className = "Jumbo_SearchBar__form"
65
+ className = { classes . Jumbo_SearchBar }
66
66
/>
67
67
</ div >
68
68
</ div >
Original file line number Diff line number Diff line change 78
78
width : 400px ;
79
79
max-width : 100% ;
80
80
}
81
+
82
+ : global (html [lang = ar ]) .Jumbo_SearchBar label [data-shrink ]{
83
+ left : unset;
84
+ right : 0 ;
85
+ transform : translate (-12px , 20px ) scale (1 );
86
+ transform-origin : right;
87
+ }
88
+
89
+ : global (html [lang = ar ]) .Jumbo_SearchBar label [data-shrink = true ]{
90
+ transform : translate (-12px , 10px ) scale (0.75 );
91
+ }
Original file line number Diff line number Diff line change 5
5
scroll-padding-top : 100px ;
6
6
}
7
7
8
+ html [lang = ar ] {
9
+ direction : rtl;
10
+ }
11
+
8
12
html ,
9
13
body ,
10
14
# __next {
@@ -128,25 +132,4 @@ html::-webkit-scrollbar {
128
132
129
133
html ::-webkit-scrollbar-thumb {
130
134
background : var (--scrollbar-thumb );
131
- }
132
-
133
- /* styles for arabic language */
134
- html [lang = ar ] {
135
- direction : rtl;
136
- }
137
-
138
- html [lang = ar ] .Jumbo_SearchBar__form label [data-shrink ]{
139
- left : unset;
140
- right : 0 ;
141
- transform : translate (-12px , 20px ) scale (1 );
142
- transform-origin : right;
143
- }
144
-
145
- html [lang = ar ] .Jumbo_SearchBar__form label [data-shrink = true ]{
146
- transform : translate (-12px , 10px ) scale (0.75 );
147
- }
148
-
149
- html [lang = ar ] .AlgorithmCard__div nav ,
150
- html [lang = ar ] .AlgorithmCard__div h2 {
151
- direction : ltr;
152
135
}
You can’t perform that action at this time.
0 commit comments