Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

darkwolf font size #67

Closed
alebalweb opened this issue Aug 24, 2021 · 46 comments
Closed

darkwolf font size #67

alebalweb opened this issue Aug 24, 2021 · 46 comments
Assignees

Comments

@alebalweb
Copy link

Hi,
font size of my form (and form) are really big... How can i set a smaller font size? I take a look to the css, but i'm not sure where to change...
https://ibb.co/wLqhGkZ

@williamdes
Copy link
Member

Hi @alebalweb
What version are you using ?

@alebalweb
Copy link
Author

darkwolf 5.1 installed from phpmyadmin.net on this server https://ibb.co/QmqQ6fC

@alebalweb
Copy link
Author

alebalweb commented Aug 24, 2021

Also pmahomme have huge font size...

@williamdes
Copy link
Member

cc @SteppenWolf68

@SteppenWolf68
Copy link
Contributor

Also pmahomme have huge font size...

Hi @alebalweb ...
Font size did not change from original file pmahomme

@alebalweb
Copy link
Author

:( And can't be changed?

@SteppenWolf68
Copy link
Contributor

captura

screenshot at 1920x1080

@SteppenWolf68
Copy link
Contributor

hi @alebalweb

maybe it's the zoom in your browser

@alebalweb
Copy link
Author

No, zoom 100%, the side bar is normal... just forms are exploded...

@SteppenWolf68
Copy link
Contributor

hi @alebalweb ...
captura2

Please check this line 12188, it must be 1.2 em, you can change to 1em

@SteppenWolf68
Copy link
Contributor

hi @alebalweb

These changes must be made within the theme.css file

@SteppenWolf68
Copy link
Contributor

cc @williamdes

@williamdes williamdes self-assigned this Aug 25, 2021
@alebalweb
Copy link
Author

half... the text is smaller, but the forms are still huge

@SteppenWolf68
Copy link
Contributor

SteppenWolf68 commented Aug 25, 2021 via email

@SteppenWolf68
Copy link
Contributor

SteppenWolf68 commented Aug 25, 2021

@alebalweb
Copy link
Author

the problem must be where you have it installed

What do you mean? I said to ubuntu apt-get install phpmyadmin... and he do it...

@SteppenWolf68
Copy link
Contributor

the problem must be where you have it installed

What do you mean? I said to ubuntu apt-get install phpmyadmin... and he do it...

Nobody else has reported this problem, in fact no serious problems have been reported, but let me find a solution for your problem, if necessary I will install ubuntu to see if the same thing happens to you with the forms

@williamdes
Copy link
Member

About Ubuntu, @alebalweb you are maybe not using the latest phpMyAdmin version
See: Wiki for install methods on Ubuntu/Debian

@williamdes
Copy link
Member

Or this is a problem of a font not installed on your computer maybe ?

@SteppenWolf68
Copy link
Contributor

SteppenWolf68 commented Aug 25, 2021 via email

@SteppenWolf68
Copy link
Contributor

you can delete font-family: monospace; from line 12188 in the theme.css file to see if it solves the problem

@SteppenWolf68
Copy link
Contributor

SteppenWolf68 commented Aug 25, 2021

or you can delete the whole line or comment it like this:

/* textarea {
    font-family: monospace;
    font-size: 1.2em
} */

@alebalweb
Copy link
Author

No, i tried to completely remove textarea from the css... but forms remain huge...

but it is something that also happens with the original pmahomme theme, is it possible that I am the only idiot who has noticed and complained?

The version is 5.1.1, the latest, I updated it immediately after installing phpmyadmin following this procedure https://devanswers.co/manually-upgrade-phpmyadmin/

@alebalweb
Copy link
Author

varchar is input="text" or textarea? they are huge too...

@SteppenWolf68
Copy link
Contributor

the weird thing is that only you is happening, and as you say, this comes from the original pmahomme and it is only with you, I need to install ubuntu to check it and see if the same thing happens to me

@alebalweb
Copy link
Author

alebalweb commented Aug 25, 2021

I feel so stupid ... this is my configuration https://ibb.co/GPRSfD5, all new and updated, and I have not done anything strange, it is possible that I am the only one who has a newly installed lts server and the only one who has noticed that forms are huge ???

@SteppenWolf68
Copy link
Contributor

take it easy, we will try to help you with this, I do not know how long it will take, since I am learning to install ubuntu and I must install the local server to check, do not despair, as soon as I have an answer I will let you know, just give me a little of time

@williamdes
Copy link
Member

I feel so stupid ... this is my configuration https://ibb.co/GPRSfD5, all new and updated, and I have not done anything strange, it is possible that I am the only one who has a newly installed lts server and the only one who has noticed that forms are huge ???

I think it is possible this is a bug fixed for 5.1.2, could you please try the latest 5.1 version in development (phpMyAdmin 5.1+snapshot) ?

@SteppenWolf68
Copy link
Contributor

hi @alebalweb ...
install ubuntu and condition the local server and the forms also appeared large and add "width: auto! important" in the specific line I attach an image and I hope it works for you

Captura de pantalla de 2021-08-25 23-47-14

@SteppenWolf68
Copy link
Contributor

and I keep working on this, to give a better visualization of darkwolf theme, do not despair

@alebalweb
Copy link
Author

alebalweb commented Aug 26, 2021

So, I tried everything, adding "auto! Important" doesn't change, and the development version has the exact same problem... maybe we should tell it to the developers? But I have no idea how to tell them ... the official page on phpmyadmin.net says write to Stack Overflow or server fault ... but I'm not sure they would see it ... I try to say it here https://github.com/phpmyadmin/phpmyadmin/issues

maybe the problem is that rows="7" but it's not css,
Schermata-del-2021-08-26-21-36-13
it's in the phpmyadmin code ... and I don't know if we can get there ...

@williamdes
Copy link
Member

So, I tried everything, adding "auto! Important" doesn't change, and the development version has the exact same problem... maybe we should tell it to the developers? But I have no idea how to tell them ... the official page on phpmyadmin.net says write to Stack Overflow or server fault ... but I'm not sure they would see it ... I try to say it here

You are on our GitHub issue board and I am one of the phpMyAdmin devs ;)

Did you install the latest snapshot to make your changes onto ?

@alebalweb
Copy link
Author

Exellent, just opened...
i installed 5.2, but i didn't touch it

@williamdes
Copy link
Member

This config value is set to 7 as default, you can lower it but you will need to use the 5.1.2-dev snapshot to have the fix for it as I mentioned on the issue you did open

https://docs.phpmyadmin.net/en/latest/config.html#cfg_CharTextareaRows

@alebalweb
Copy link
Author

i just tried to reinstall this https://files.phpmyadmin.net/snapshots/phpMyAdmin-5.1+snapshot-all-languages.zip

but that's how I see it
Schermata-del-2021-08-26-22-29-04
Schermata-del-2021-08-26-22-29-20

@alebalweb
Copy link
Author

Wait... sorry... now i found it on options and i see this
Schermata-del-2021-08-26-22-34-00

perfect

@alebalweb
Copy link
Author

bu font-size is still huge...

@williamdes
Copy link
Member

Here is what I have on my workstation, can you post a comparison ?

image

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus augue metus, viverra quis elit ut, eleifend placerat mauris. Vestibulum viverra vel est a imperdiet. Sed sem risus, commodo quis dui quis, euismod efficitur purus. Aenean accumsan faucibus quam sed tincidunt. Phasellus lobortis tempor elit, sed consequat ex condimentum ut. Sed in elementum mi. Vivamus mollis tortor quis lacus imperdiet pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Mauris maximus efficitur urna eu ornare.

Integer iaculis ultrices turpis, ac mollis orci. Phasellus posuere lobortis nibh, id pharetra purus euismod in. Aenean consequat pellentesque odio, in gravida nisl fermentum id. Sed sodales mattis felis, sed feugiat enim congue a. Vivamus non urna nulla. Cras molestie iaculis elit non vehicula. Nulla venenatis pellentesque dui a volutpat.

Praesent aliquam neque et lobortis fringilla. Aliquam vestibulum cursus dolor, ac sodales felis semper non. Pellentesque commodo, ante sed rhoncus luctus, mauris nulla pretium purus, non sollicitudin augue arcu sed nunc. Nullam porta risus sed lectus molestie, congue finibus nisl fringilla. Integer maximus eleifend nunc, a placerat leo congue quis. Morbi facilisis, augue sit amet aliquet sagittis, ipsum libero vehicula nulla, a accumsan nisi elit sed tellus. Nam tincidunt, quam in suscipit gravida, metus lectus iaculis odio, sed posuere nisl dui vitae risus. Proin pretium, lectus sed iaculis commodo, urna tortor ultricies est, sed vehicula tortor mauris et nisl. Cras ac ligula nec erat molestie faucibus. Vestibulum commodo, diam vel dignissim pretium, ipsum libero aliquam purus, nec elementum massa tellus ut ipsum. Pellentesque interdum tincidunt orci, in molestie felis gravida nec. Phasellus orci diam, rutrum quis sem ac, congue tempus metus.

Integer egestas elit at neque posuere volutpat. Mauris et odio eget urna ultricies fermentum. Morbi posuere lorem sit amet est pellentesque, vitae tincidunt diam tincidunt. Etiam ultricies sit amet leo id consequat. Morbi dapibus, sapien ut viverra mattis, ligula ante posuere dolor, quis luctus est arcu eget eros. Quisque ante velit, vehicula vel libero eget, dictum malesuada odio. Pellentesque auctor mi eget euismod tristique. Suspendisse sed enim vel sem vehicula malesuada quis a neque.

Sed ac purus eget sem vehicula ultrices. Donec semper ornare velit, vitae semper risus ornare mollis. Duis aliquam felis id nunc aliquam posuere. Nunc molestie risus diam, at ornare justo venenatis in. Suspendisse non urna eget velit hendrerit finibus non id diam. Integer egestas egestas bibendum. Nullam ut fermentum erat. In hac habitasse platea dictumst. Nulla facilisi.

@alebalweb
Copy link
Author

alebalweb commented Aug 26, 2021

Schermata-del-2021-08-26-22-56-25

This solved it on darkwolf theme

textarea {
    font-family: monospace;
    font-size: 1em
}

@williamdes
Copy link
Member

Hi @SteppenWolf68
Should I push this patch into the theme or do you have some changes to do ?

@alebalweb
Copy link
Author

I think work good with 1em...

@SteppenWolf68
Copy link
Contributor

hi @williamdes
You can include it please, I have no more changes to make, greetings

williamdes added a commit that referenced this issue Sep 12, 2021
@williamdes
Copy link
Member

I did push the change but css files need to be re-built
Do you approve the theme for 5.1 versions as compatible ?

@SteppenWolf68
Copy link
Contributor

I did push the change but css files need to be re-built
Do you approve the theme for 5.1 versions as compatible

hi @williamdes
Yes i do

@SteppenWolf68
Copy link
Contributor

hi @williamdes
I believe that this topic can be considered closed,
unless there is something else pending, greetings

@williamdes
Copy link
Member

hi @williamdes I believe that this topic can be considered closed, unless there is something else pending, greetings

Hi @ibennetch
Could you release the version I prepared ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants