From bbc3c64053f2e93c49f133bf8fc1243e470ef5e8 Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Wed, 5 Dec 2012 17:27:05 +0100 Subject: [PATCH 1/1] table editing fix --- redakcja/static/css/html.css | 17 +++++++++++- redakcja/static/xsl/wl2html_client.xsl | 36 +++++++++----------------- 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 5e9ac194..d7f2a7a1 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -604,6 +604,7 @@ div[x-node] > .uwaga { margin: 0px; padding: 0px; width: 100%; + min-width: 600px; /* for editing narrow elements */ height: 100%; z-index: 0; font-size: 10pt; @@ -731,7 +732,21 @@ div[x-node] > .uwaga { color: #990066; } -.htmlview .kol div { +.htmlview .tabela { + display: table; +} + +.htmlview .wiersz { + display: table-row; +} + +.htmlview .kol { + min-width: 200px; + display: table-cell; + padding: 5px; +} + +.htmlview .kol span { position: relative; } diff --git a/redakcja/static/xsl/wl2html_client.xsl b/redakcja/static/xsl/wl2html_client.xsl index 97f5de3b..8be6e225 100644 --- a/redakcja/static/xsl/wl2html_client.xsl +++ b/redakcja/static/xsl/wl2html_client.xsl @@ -800,41 +800,29 @@ - - - - - - - - -
-
- - - - - - + + + + + + - -
- + +
- +
- +
+ @@ -847,7 +835,7 @@ - + -- 2.20.1