From: Marcin Koziej Date: Wed, 5 Dec 2012 16:27:05 +0000 (+0100) Subject: table editing fix X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/bbc3c64053f2e93c49f133bf8fc1243e470ef5e8?ds=sidebyside;hp=-c table editing fix --- bbc3c64053f2e93c49f133bf8fc1243e470ef5e8 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 @@ - +