From 2dac797704dcdc0293a7989c56cbb86be7a7dfde Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 5 Dec 2018 16:26:53 +0300 Subject: floatingTitle-related fixes --- css/cdm.less | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) (limited to 'css/cdm.less') diff --git a/css/cdm.less b/css/cdm.less index 085b02269..c129f7f13 100644 --- a/css/cdm.less +++ b/css/cdm.less @@ -216,18 +216,36 @@ div#floatingTitle { border-bottom-width: 1px; background : white; color : @default-text; + display : flex; + flex-direction : row; + flex-wrap : nowrap; box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1); > * { - display : table-cell; + align-self: center; white-space : nowrap; - vertical-align : middle; - padding : 9px 5px; + padding : 4px; } - img { - margin-right : 4px; - margin-left : 4px; + .left, .right { + display : flex; + + > * { + align-self : center; + } + + i.material-icons { + margin-left : 2px; + font-size : 20px; + padding : 2px; + user-select: none; + } + + i.anchor { + margin-left : 0px; + padding : 0px; + color : #ccc; + } } span.author { @@ -284,7 +302,6 @@ div#floatingTitle { white-space : normal; } - .dijit, img.score-pic { display : none; } -- cgit v1.2.3