Vertical line cursor is too small compared to text - css

I try create new react app and apply a font (Corporate-Logo-Bold-ver3.woff) it works fine. But when I add to old project react app, the vertical line cursor seem too small than text. Is there any problem with this. Small vertical line cursor
I try to fix line-height,it not work too.

Related

How to animate and style a blinking text cursor in CSS?

I'm looking to create a blinking text cursor that I also want to style to look pretty similar to the following website:
http://paul.institute/enrol
I had a look at the source but it's all written in one single line and is a bit of a mess.

Vertically center text near an image in a QLabel

I am attempting to get a QLabel display an image and some text centered vertically with that image.
I can't figure out how to do this.
Most sources I've found on the internet suggest using the following code:
ui->label->setText("<img src='c:/images.jpg' style='vertical-align:middle;'> Hello");
However what I get is this.
The bottom line of the text is centered near the image, but what I like to have is the middle line of the text to be centered (like so: made in ms paint). Sounds like a pretty common task yet I wasn't able to find any answer.
How can I achieve this?
I tried to run it in my QtCreator and it work fine. So, for start, you can try the following:
Check the picture size. Open it in paint.net or something like that. Perhaps the top image is an empty area of ​​the invisible. Those, the actual size of the image looks like an elongated rectangle, in which the visible part is on the bottom. Try other image.
Try to change the format jpg to png. I had problems with displaying images in jpg format, so I always try to use the png.
Problems with styles. Qt may work incorrect with css style, because it not part of the Qt. I tested in version Qt 5.4.0. If you have an older, may be its time to update it.

Text appears while over on an icon in Webflow

I made some research before writing here, but I couldn't find nothing that satisfied my answer to this specific case.
I have an icon, and when user hover onto it I want the icon become smaller and text (caption for the icon) should appear -at icons bottom.
As now, I have an interaction for the icon, that makes it become smaller.
It's first time for me working with WebFlow, and I see that using overlapping blocks they work as layers in the sense that the one on top is the only one who react to hovering.
I found in other questions that there was the need of setting correctly absolute/relative for blocks, but is not working for me since I have also the icon, inside the same block.
If I move the icon out of the block, I have the problem I shared before about overlapping "layers".
I need that icon decrease in size and text appear at the same time.
Is this achievable?
Thank you for your help!

How to create a text editor in with line numbers in a web app

I'm trying to create a text editor with line numbers, which increments with the lines increase. Well, my focus is to make the UI that will do good in Firefox OS as a privilege app. But in UI what css and html need to be used to create a text-field where line numbers must not be editable by the user. And few other thing say like, text-field is fixed height height: 100px; now if text overflows and if the user scroll then line numbers must scroll together with respective lines. (I'm trying to create with textarea and div with contenteditable="true"). I'm not able to scroll the text-field if I try this. Please provide some help or any other way to do this.
As someone who has worked on this problem for over a year at a previous company. Just use one of the existing source code editors like Ace or CodeMirror. They'll work in a Firefox OS app as well (f.e. Cloud9 IDE uses Ace and works on FFOS).

Dojo Graph Tooltip Arrow Appears Incorrectly

For some reason, the arrow on the tooltip for each graph point appears below the actual label(see image). I have tried doing everything to move it and can not figure out why this is happening. The tooltip is generated automatically by dojo's chart library. It appears fine in the demos.
Does anybody have an idea why?
EDIT:
I am using Dojo 1.7.2.
The code is question is
this.linePlotName is part of the object that the method below resides in.
var anim = new dojox.charting.action2d.Tooltip(newLineChart, this.linePlotName);
I had the same issue after I upgraded my Dojo from 1.6 to 1.7.2, but this issue was actually a bug and it is fixed now in 1.7.3: http://bugs.dojotoolkit.org/ticket/15016
Upgrade and it should be fine.
It's hard to say, without seeing what else is going on in your code. However, it's important to keep in mind that the tooltip's behavior is influenced by the widget/div/frame it's contained in. If there's not enough room to render the tooltip graphic on top of the plot line, it will be drawn under it. Try increasing the size of the container the chart is contained in, and try increasing the size of the chart itself, so there's plenty of room above the plot line for the tooltip to appear, or even try just scrolling up/down. It's best to rule out the easy fixes first. :) If that doesn't work, please comment, and we can go from there...

Resources