restore analysis deep link - closes #4260
This commit is contained in:
parent
802a5fa6dd
commit
13f1943958
|
@ -75,6 +75,10 @@
|
|||
<div class="side_box">
|
||||
<h2 class="top user_tv text" data-user-tv="@u.id" data-icon="1">@u.titleUsername</h2>
|
||||
</div>
|
||||
}.getOrElse {
|
||||
@if(lila.common.HTTPRequest.isMobile(ctx.req)) {
|
||||
<a class="side_box text deep_link" data-icon="" href="lichess://analyse/@pov.gameId">Open with <strong>Mobile app</strong></a>
|
||||
}
|
||||
}
|
||||
|
||||
@tour.map { t =>
|
||||
|
|
|
@ -726,7 +726,7 @@ div.side_box .padded {
|
|||
padding: 7px;
|
||||
}
|
||||
@media (max-width: 1070px) {
|
||||
div.side_box,
|
||||
.side_box,
|
||||
#site_header a.stream {
|
||||
margin-left: 0!important;
|
||||
width: 196px!important;
|
||||
|
@ -837,15 +837,16 @@ div.side form.search input {
|
|||
#site_header div.side_menu .sep {
|
||||
margin: 10px;
|
||||
}
|
||||
.context-streamer {
|
||||
.context-streamer,
|
||||
.deep_link {
|
||||
display: block;
|
||||
padding: 5px;
|
||||
margin: 0 0 1px -30px;
|
||||
color: #fff!important;
|
||||
background: rgba(117,153,0,0.5);
|
||||
border-radius: 0 0 3px 3px;
|
||||
overflow: hidden;
|
||||
white-space:nowrap;
|
||||
border-radius: 0 0 3px 3px;
|
||||
}
|
||||
.context-streamer::before {
|
||||
font-size: 1.5em;
|
||||
|
|
Loading…
Reference in a new issue