svn: /web/doc-editor/trunk/ js/ui/component/FilePanel.js themes/style.css

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Wed, 02 Dec 2009 21:43:48 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=291614

Log:
Update codemirror ux to new version

Changed paths:
    U   web/doc-editor/trunk/js/ui/component/FilePanel.js
    U   web/doc-editor/trunk/themes/style.css

Modified: web/doc-editor/trunk/js/ui/component/FilePanel.js
===================================================================
--- web/doc-editor/trunk/js/ui/component/FilePanel.js	2009-12-02 21:41:12 UTC (rev 291613)
+++ web/doc-editor/trunk/js/ui/component/FilePanel.js	2009-12-02 21:43:48 UTC (rev 291614)
@@ -563,6 +563,7 @@
         {
             title : this.title  + perm,
             permlink : perm,
+            cls: 'code-mirror-panel',
             originTitle : this.title,
             items : [{
                 xtype      : 'codemirror',

Modified: web/doc-editor/trunk/themes/style.css
===================================================================
--- web/doc-editor/trunk/themes/style.css	2009-12-02 21:41:12 UTC (rev 291613)
+++ web/doc-editor/trunk/themes/style.css	2009-12-02 21:43:48 UTC (rev 291614)
@@ -76,7 +76,13 @@
     font-size: 10pt;
     font-family: monospace;
     padding-top: .4em;
-} .flag {
+}
+
+.code-mirror-panel .x-form-element {
+    padding-right: 33px;
+}
+
+ .flag {
     background-repeat: no-repeat ! important;
     background-position: 3px 50% ! important;
     padding-left: 24px ! important;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.