Commit 55e07128 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Fixed style of result options

parent 7cd974a2
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
text-decoration: none; text-decoration: none;
} }
} }
@media (max-width: 499px) { @media (max-width: @screen-mobile) {
.result-open-newtab { .result-open-newtab {
display: none; display: none;
} }
...@@ -183,9 +183,6 @@ ...@@ -183,9 +183,6 @@
font-size: @result-font-small; font-size: @result-font-small;
flex-grow: 1; flex-grow: 1;
text-align: right; text-align: right;
@media (max-width: 499px) {
display: none;
}
} }
} }
.result-footer * { .result-footer * {
...@@ -225,12 +222,15 @@ ...@@ -225,12 +222,15 @@
} }
ul { ul {
display: flex; display: flex;
flex-wrap: wrap;
li { li {
font-size: @result-font-small; font-size: @result-font-small;
margin: 8px; margin: 8px 16px 8px 0;
} }
li:nth-child(1){ @media(max-width: @screen-mobile){
margin-left: 0; li:nth-child(1){
display: none;
}
} }
li>a { li>a {
color: @link-color; color: @link-color;
......
...@@ -70,25 +70,25 @@ ...@@ -70,25 +70,25 @@
<ul class="option-list list-unstyled small"> <ul class="option-list list-unstyled small">
<li class="js-only"> <li class="js-only">
<a href="javascript:resultSaver({{ $result->number }});" class="saver"> <a href="javascript:resultSaver({{ $result->number }});" class="saver">
<i class="fa fa-floppy-o"></i> {!! trans('result.options.savetab') !!} <nobr><i class="fa fa-floppy-o"></i> {!! trans('result.options.savetab') !!}</nobr>
</a> </a>
</li> </li>
@if(strlen($metager->getSite()) === 0) @if(strlen($metager->getSite()) === 0)
<li> <li>
<a href="{{ $metager->generateSiteSearchLink($result->strippedHost) }}"> <a href="{{ $metager->generateSiteSearchLink($result->strippedHost) }}">
{!! trans('result.options.1') !!} <nobr>{!! trans('result.options.1') !!}</nobr>
</a> </a>
</li> </li>
@endif @endif
<li> <li>
<a href="{{ $metager->generateRemovedHostLink($result->strippedHost) }}"> <a href="{{ $metager->generateRemovedHostLink($result->strippedHost) }}">
{!! trans('result.options.2', ['host' => $result->strippedHost]) !!} <nobr>{!! trans('result.options.2', ['host' => $result->strippedHost]) !!}</nobr>
</a> </a>
</li> </li>
@if( $result->strippedHost !== $result->strippedDomain ) @if( $result->strippedHost !== $result->strippedDomain )
<li> <li>
<a href="{{ $metager->generateRemovedDomainLink($result->strippedDomain) }}"> <a href="{{ $metager->generateRemovedDomainLink($result->strippedDomain) }}">
{!! trans('result.options.3', ['domain' => $result->strippedDomain]) !!} <nobr>{!! trans('result.options.3', ['domain' => $result->strippedDomain]) !!}</nobr>
</a> </a>
</li> </li>
@endif @endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment