From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com> |
Cc: | Atira Odhner <aodhner(at)pivotal(dot)io>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: [patch] RM2163 emboldened syntax highlighting |
Date: | 2017-02-09 09:37:30 |
Message-ID: | CA+OCxowx0cz8xVRu72tKBn9df2eSdA3B8Ws=SS1OHcgeca3d3g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi
On Thu, Feb 9, 2017 at 7:26 AM, Murtuza Zabuawala
<murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:
> Hi,
>
> It's not a good idea to directly change in main Library, Lets say if newer
> version of CodeMirror available and we want to pull new version then we need
> to maintain this change set every time we pull new version.
>
> Instead please use,
>
> web/pgadmin/static/css/overrides.css
>
>
> or more specifically if you are only targeting Syntax highlighting for Query
> Tool then,
>
> web/pgadmin/tools/sqleditor/static/css/sqleditor.css
>
>
> to override any CSS related changes specific to pgAdmin4.
Agreed - we only modify bundled libraries when there is no other
choice, and then we add a README explaining what was changed and why.
In this case, I think the changes should be in overrides.css which is
intended specifically for overriding styles in the third party
libraries (yes, I know there are a few things in there that should be
in pgadmin.css - we need to clean that up somewhen). They should not
be for the SQL Editor only.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2017-02-09 11:04:56 | Re: Patch from RM1983 [pgAdmin4] |
Previous Message | Murtuza Zabuawala | 2017-02-09 07:26:10 | Re: [patch] RM2163 emboldened syntax highlighting |