Jonas Kress (WMDE) has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/376145 )

Change subject: Bottom position for header toolbar in embed view
......................................................................

Bottom position for header toolbar in embed view

Moves toolbar to the bottom right and adds class dropup.
Fixes column not sortable when hidden behind toolbar.

Change-Id: I57d363e1a1326f1145c7708504b75f6136242c10
---
M embed.html
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikidata/query/gui 
refs/changes/45/376145/1

diff --git a/embed.html b/embed.html
index bdf172a..19d7241 100644
--- a/embed.html
+++ b/embed.html
@@ -93,8 +93,8 @@
 .header-toolbar {
        z-index: 1000;
        position: fixed;
-       top: 0;
-       left: 40vw;
+       bottom: 0;
+       right: 0;
        opacity: 0.2;
 }
 .header-toolbar:hover {
@@ -274,6 +274,8 @@
 
                                $( '.edit-link' ).attr( 'href', 
config.location.index + window.location.hash )
                        } );
+                       
+                       $( '#display-button' ).closest( '.navbar' ).addClass( 
'dropup' );
 
                } );
        </script>

-- 
To view, visit https://gerrit.wikimedia.org/r/376145
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I57d363e1a1326f1145c7708504b75f6136242c10
Gerrit-PatchSet: 1
Gerrit-Project: wikidata/query/gui
Gerrit-Branch: master
Gerrit-Owner: Jonas Kress (WMDE) <jonas.kr...@wikimedia.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to