Skip to content

Commit

Permalink
enh: [#126] Avoiding empty spaces when there are highlighted news
Browse files Browse the repository at this point in the history
  • Loading branch information
annabranco committed Apr 8, 2021
1 parent d7b4174 commit 41b2fe0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions packages/nnk/src/components/controllers/News/styles.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { css, styled } from 'frontity';
import { sizeMedium } from '../../../setup/themes';
import Link from '../../core/Link';
import { styled } from 'frontity';

export const NewsSection = styled.section`
display: flex;
Expand Down Expand Up @@ -30,7 +28,7 @@ export const NewsWrapper = styled.div`
@media all and (min-width: 768px) {
display: grid;
grid-auto-flow: dense;
grid-template-columns: repeat(3, 1fr);
padding: 24px;
grid-gap: 10px;
Expand Down
4 changes: 1 addition & 3 deletions packages/nnk/src/components/views/NewsItem/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import {
sizeDefaultText,
fontTitleNews,
fontTitle,
sizeSmallestTitle,
sizeLarge,
sizeMediumTitle
sizeLarge
} from '../../../setup/themes';
import Link from '../../core/Link';

Expand Down

0 comments on commit 41b2fe0

Please sign in to comment.