Skip to content

Commit

Permalink
Senaste » Vanliga sökningar + floata
Browse files Browse the repository at this point in the history
  • Loading branch information
bonny committed Apr 27, 2024
1 parent 27a2b5d commit c1fb8e6
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 4 deletions.
74 changes: 74 additions & 0 deletions public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1699,6 +1699,10 @@ h2.widget__title {
margin-top: var(--default-margin-double);
}

.padding-0 {
padding: 0;
}

.u-padding-bottom {
padding-bottom: var(--default-margin);
}
Expand Down Expand Up @@ -3581,6 +3585,76 @@ h2.widget__title {
margin-top: 2rem;
}

.mx-0 {
margin-left: 0px;
margin-right: 0px;
}

.mx-px {
margin-left: 1px;
margin-right: 1px;
}

.mx-0\.5 {
margin-left: 0.125rem;
margin-right: 0.125rem;
}

.mx-1 {
margin-left: 0.25rem;
margin-right: 0.25rem;
}

.mx-1\.5 {
margin-left: 0.375rem;
margin-right: 0.375rem;
}

.mx-2 {
margin-left: 0.5rem;
margin-right: 0.5rem;
}

.mx-2\.5 {
margin-left: 0.625rem;
margin-right: 0.625rem;
}

.mx-3 {
margin-left: 0.75rem;
margin-right: 0.75rem;
}

.mx-3\.5 {
margin-left: 0.875rem;
margin-right: 0.875rem;
}

.mx-4 {
margin-left: 1rem;
margin-right: 1rem;
}

.mx-5 {
margin-left: 1.25rem;
margin-right: 1.25rem;
}

.mx-6 {
margin-left: 1.5rem;
margin-right: 1.5rem;
}

.mx-7 {
margin-left: 1.75rem;
margin-right: 1.75rem;
}

.mx-8 {
margin-left: 2rem;
margin-right: 2rem;
}

.list-none {
list-style-type: none;
}
Expand Down
8 changes: 4 additions & 4 deletions resources/views/adsenseSearch.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
För att t.ex. hitta skadegörelse i Stockholm så kan du söka efter "skadegörelse stockholm östermalm".
</p>

<h2>Senaste sökningarna</h2>
<h2>Vanliga sökningar</h2>

<ul>
<ul class="u-margin-0 padding-0 list-none">
@foreach ($userSearches as $searchWord => $searchInfo)
<li data-debug-count={{ $searchInfo['count'] }} data-debug-hits={{ $searchInfo['hits'] }}>
<a href="{{ route('adsenseSearch', ['q' => $searchWord]) }}">
<li data-debug-count={{ $searchInfo['count'] }} data-debug-hits={{ $searchInfo['hits'] }} class="float-left">
<a href="{{ route('adsenseSearch', ['q' => $searchWord]) }}" class="block px-3 py-2">
{{ $searchWord }}
</a>
</li>
Expand Down

0 comments on commit c1fb8e6

Please sign in to comment.