From ea244e8c1502c67e0f0fbbc8b136a2ace2643c24 Mon Sep 17 00:00:00 2001 From: Pau Giner Date: Wed, 29 Oct 2014 18:00:22 +0100 Subject: [PATCH] Layout adjustment for right data column The right data column has been adjusted to: * Make the position of license info consistent when moving through images. * Make the position of the right list of data consistent when the panel is open. That is achieved by adjusting the license position in a different way depending on the status of the panel (open or closed). Change-Id: Ia1a54d400e9810119d5222a9da732e099d81d9cf --- resources/mmv/ui/mmv.ui.metadataPanel.less | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/mmv/ui/mmv.ui.metadataPanel.less b/resources/mmv/ui/mmv.ui.metadataPanel.less index e16d09da5..e3495c05a 100644 --- a/resources/mmv/ui/mmv.ui.metadataPanel.less +++ b/resources/mmv/ui/mmv.ui.metadataPanel.less @@ -217,7 +217,17 @@ } .mw-mmv-image-metadata-links-column { - width: 33.5%; + max-width: 33.5%; + width: 25%; + text-align: right; + float: right; + transition: width 0.2s ease-out; + + .panel-open & { + width: 33.5%; + text-align: left; + } + } .mw-mmv-permission-link {