File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 101101 padding-inline : var (--rh-space-lg );
102102 align-items : center;
103103 justify-content : center;
104- /* background-color: var(--rh-color-gray-10);
105- background-image: url("../img/hero.png");
106- background-position: center center;
107- background-repeat: no-repeat;
108- background-size: cover; */
109104 min-height : 25vh ;
110105 color : var (--rh-color-text-primary );
111106
189184
190185 # table-search {
191186 display : flex;
192- flex-direction : row;
193- align-items : center;
187+ flex-direction : column;
194188 gap : var (--rh-space-md );
189+
190+ @media screen and (min-width : 440px ) {
191+ flex-direction : row;
192+ }
195193 }
196194
197195 # table-categories {
267265 padding : 0 ;
268266 list-style : none;
269267 display : flex;
270- flex-direction : row ;
271- align-items : center ;
268+ flex-direction : column ;
269+ align-items : flex-start ;
272270 justify-content : center;
271+ row-gap : var (--rh-space-md );
273272 width : 100% ;
274273 font-size : var (--rh-font-size-body-text-sm );
275274
276- li {
277- padding-inline : var ( --rh-space-lg ) ;
278- border-inline-end : var ( --rh-border-width-sm ) solid var ( --rh-color-border-subtle ) ;
275+ @media screen and ( min-width : 380 px ) {
276+ flex-direction : row ;
277+ align-items : center ;
279278
280- & : first-child {
281- padding-inline-start : 0 ;
282- }
279+ li {
280+ padding-inline : var ( --rh-space-lg ) ;
281+ border-inline-end : var ( --rh-border-width-sm ) solid var ( --rh-color-border-subtle );
283282
284- & : last-child {
285- padding-inline-end : 0 ;
286- border : 0 ;
283+ & : first-child {
284+ padding-inline-start : 0 ;
285+ }
286+
287+ & : last-child {
288+ padding-inline-end : 0 ;
289+ border : 0 ;
290+ }
287291 }
288292 }
289293
You can’t perform that action at this time.
0 commit comments