Skip to content

Commit

Permalink
Kolumner
Browse files Browse the repository at this point in the history
  • Loading branch information
bonny committed May 9, 2024
1 parent d703b7b commit 13fdaa2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
11 changes: 11 additions & 0 deletions public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3839,6 +3839,17 @@ h2.widget__title {
color: var(--color-black);
}

/* Kolumner på bredare skärmare */
.cols {
display: flex;
}

@media (max-width: 768px) {
.cols {
flex-direction: column;
}
}

/* Google Custom Search Engine */
.widget .gsc-control-cse {
padding: 0;
Expand Down
3 changes: 0 additions & 3 deletions resources/views/design.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@

<x-latest-events-box />
<x-trending-events-box />




<h1>En huvudrubrik av storlek h1. Lite överdrivet lång kanske men vi måste ju testa radbrytningar och så vidare</h1>

Expand Down
7 changes: 4 additions & 3 deletions resources/views/start.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@
</a>
</div>

<x-latest-events-box />

<x-trending-events-box />
<div class="cols">
<x-latest-events-box />
<x-trending-events-box />
</div>

@if ($eventsRecent)
<div class="widget">
Expand Down

0 comments on commit 13fdaa2

Please sign in to comment.