Lucas Werkmeister (WMDE) has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/392877 )

Change subject: Make .valueview inline as well
......................................................................

Make .valueview inline as well

This is a follow-up to commit 5c3e109dc2 (change I1399233617), which
makes the wikibase-snakview-value div inline when not in edit mode, so
that it can appear next to the indicators instead of having them both in
separate lines. When the value is created by the client-side JS code
instead of the PHP version, it is wrapped in another valueview div,
which also needs to be made inline to achieve the desired effect.

Bug: T95403
Change-Id: I3d35aa0deaa9cc1f7d2427e6ace964eb5cc51ceb
---
M view/resources/wikibase/wikibase.less
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/77/392877/1

diff --git a/view/resources/wikibase/wikibase.less 
b/view/resources/wikibase/wikibase.less
index f52234f..b84e2ed 100644
--- a/view/resources/wikibase/wikibase.less
+++ b/view/resources/wikibase/wikibase.less
@@ -237,6 +237,10 @@
                display: inline;
        }
 
+       .wikibase-snakview-value .valueview {
+               display: inherit; /* inline from above or block from below */
+       }
+
        &.wb-edit {
                .wikibase-snakview-value {
                        display: block;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3d35aa0deaa9cc1f7d2427e6ace964eb5cc51ceb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) <lucas.werkmeis...@wikimedia.de>

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

Reply via email to