File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 color : # fff ;
3232 }
3333
34- /* PASEK FILTRÓW KATEGORII (W STYLU PORTALU) */
34+ /* PASEK FILTRÓW KATEGORII */
3535 .newsy-filters {
3636 max-width : 1200px ;
3737 margin : 0 auto 30px auto;
121121 backdrop-filter : blur (10px );
122122 display : flex;
123123 flex-direction : column;
124- justify-content : space-between;
125124 transition : 0.3s ;
126125 position : relative;
127126 overflow : hidden;
147146 background : var (--accent-blue );
148147 }
149148
149+ /* MINIATURKA ZDJĘCIA NA KAFELKU */
150150 .news-card-thumb {
151151 width : 100% ;
152152 height : 200px ;
@@ -271,7 +271,7 @@ <h1>Tech Briefs & News</h1>
271271 {% assign post_cat = post.category | default: "brief" | downcase %}
272272
273273 < a href ="{{ post.url }} " class ="news-card " data-title ="{{ post.title | downcase }} " data-category ="{{ post_cat }} ">
274- < div >
274+ < div style =" display: flex; flex-direction: column; height: 100%; " >
275275 {% if post_thumb %}
276276 < img src ="{{ post_thumb }} " alt ="{{ post.title }} " class ="news-card-thumb ">
277277 {% endif %}
@@ -339,13 +339,11 @@ <h2 class="news-card-title">{{ post.title }}</h2>
339339 }
340340 }
341341
342- // Nasłuchiwanie wpisywania w wyszukiwarkę
343342 searchInput . addEventListener ( 'input' , ( e ) => {
344343 currentQuery = e . target . value . toLowerCase ( ) . trim ( ) ;
345344 filterCards ( ) ;
346345 } ) ;
347346
348- // Nasłuchiwanie kliknięć w przyciski filtrów kategorii
349347 filterButtons . forEach ( btn => {
350348 btn . addEventListener ( 'click' , ( ) => {
351349 filterButtons . forEach ( b => b . classList . remove ( 'active' ) ) ;
You can’t perform that action at this time.
0 commit comments