This repository was archived by the owner on Oct 25, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -3117,16 +3117,16 @@ a.composer_command_option:hover .composer_command_desc,
31173117
31183118 .user-select (text );
31193119
3120- & :empty :before {
3120+ & :empty :: before {
31213121 content : attr (placeholder );
31223122 color : #9aa2ab ;
31233123 display : block ;
31243124 margin-top : -1px ;
31253125 margin-left : 1px ;
31263126 pointer-events : none ;
31273127 }
3128- & :empty:active :before ,
3129- & :empty:focus :before {
3128+ & :empty:active :: before ,
3129+ & :empty:focus :: before {
31303130 opacity : 0.75 ;
31313131 }
31323132
@@ -3279,14 +3279,25 @@ _:-ms-lang(x), .composer_rich_textarea:empty:focus:before {
32793279 }
32803280}
32813281
3282-
32833282.composer_dropdown > li .inline_result_gif > a ,
32843283.composer_dropdown > li .inline_result_photo > a {
32853284 padding : 0 ;
32863285 line-height : 0 ;
32873286 display : block ;
32883287 overflow : hidden ;
32893288}
3289+ li .inline_result_gif.composer_autocomplete_option_active a ,
3290+ li .inline_result_photo.composer_autocomplete_option_active a {
3291+ position : relative ;
3292+
3293+ .inline_result_ind {
3294+ display : block ;
3295+ background : rgba (255 ,255 ,255 ,0.3 );
3296+ width : 100% ;
3297+ height : 100% ;
3298+ position : absolute ;
3299+ }
3300+ }
32903301.inline_result_gif .img_gif_video ,
32913302.inline_result_photo .inline_result_photo_image {
32923303 object-fit : cover ;
Original file line number Diff line number Diff line change 22 < li class ="inline_result_wrap " ng-class ="'inline_result_' + result.type " ng-repeat ="result in botResults.results track by result.qID " ng-switch ="result.type ">
33
44 < a ng-switch-when ="gif " class ="img_gif_with_progress_wrap " data-inlineid ="{{result.qID}} " ng-style ="::{width: result.thumbW, height: result.thumbH} " ng-switch ="result._ ">
5+ < div class ="inline_result_ind "> </ div >
56 < div ng-switch-when ="botInlineMediaResultDocument " ng-switch ="result.document.url !== undefined " class ="inline_result_gif_mtproto ">
67 < div ng-switch-when ="true " ng-switch ="result.document.mime_type == 'video/mp4' ">
78 < video ng-switch-when ="true " width ="{{result.thumbW}} " height ="{{result.thumbH}} " loop autoplay class ="img_gif_video ">
2526 </ a >
2627
2728 < a ng-switch-when ="photo " data-inlineid ="{{result.qID}} " ng-style ="::{width: result.thumbW, height: result.thumbH} " ng-switch ="result._ ">
29+ < div class ="inline_result_ind "> </ div >
2830 < div ng-switch-when ="botInlineMediaResultPhoto " class ="inline_result_photo_mtproto ">
2931 < img
3032 class ="inline_result_photo_image "
3133 my-load-thumb
3234 thumb ="result.thumb "
35+ ng-style ="::{width: result.thumbW, height: result.thumbH} "
3336 />
3437 </ div >
3538 < div ng-switch-default ng-switch ="result.contentUrl !== undefined " class ="inline_result_photo_http ">
You can’t perform that action at this time.
0 commit comments