in Education by
I use the vendor time picker component. Unfortunately, it uses rem units for most of its sizes, but pixels for positioning clock elements. So when I'm trying to improve my application on mobile using font-size decreasing for small screen sizes: @media only screen and (max-width: 992px) { html { font-size: 80%; } } the widget becomes unusable due to selection elements shift from the other ones. I can use ":host >>> ... " angular css hacks to customize the widget's style but manual recalculation and repositioning of 24 clock elements is not a simple task (if it is event possible). Is it possible to force the widget to ignore html font-size setting? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Sounds like a badly designed widget. Basically if they mixed rem units with px you cannot do anything to fix that. You could switch to using em units yourself and change only the app font-size, but it has other implications too, of course. So either it is you forking the widget or you using a global style overriding the widget. Instead of recalculating the px sizes you could as well replace the rem units with different measure.

Related questions

0 votes
    I am exploring Float Label pattern for web page using HTML and CSS. The code was referred from http: ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 27, 2022 in Education by JackTerrance
0 votes
    I have a problem with table-layout:fixed and width of inner columns if their content wider than column. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Aug 1, 2022 in Education by JackTerrance
0 votes
    I am fairly new to CSS Media queries. I am actually trying to adjust left margin for a button (' ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 8, 2022 in Education by JackTerrance
0 votes
    I am fairly new to CSS Media queries. I am actually trying to adjust left margin for a button (' ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 12, 2022 in Education by JackTerrance
0 votes
    I am fairly new to CSS Media queries. I am actually trying to adjust left margin for a button (' ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 10, 2022 in Education by JackTerrance
0 votes
    I'm unable to change/remove the link underline and color of the nested text. I checked the debug ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 12, 2022 in Education by JackTerrance
0 votes
    What are the Advantages of CSS?...
asked Mar 3, 2021 by JackTerrance
0 votes
    It took me forever to reduce the problem to this. I cannot express the amount of frustration I'm ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 5, 2022 in Education by JackTerrance
0 votes
    It is possible to convert the existing HTML, CSS websites to hybrid apps using PhoneGap. Please select the correct options from below (a)False (b)True...
asked Dec 11, 2020 in Education by Editorial Staff
0 votes
    Write html code to set the BGCOLOR as NAVY, header 1 text Text Example with size, colour and font face'' as ... font face ARIAL . Select the correct answer from above options...
asked Dec 29, 2021 in Education by JackTerrance
0 votes
    I styled a button: .subscribe_button { background-color: red; } .subscribe_button:hover { background-color: ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I have a div and an iframe on the page the div has z-index: 0; the iframe has its content with ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 21, 2022 in Education by JackTerrance
0 votes
    I have a div and an iframe on the page the div has z-index: 0; the iframe has its content with ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 21, 2022 in Education by JackTerrance
0 votes
    I have a div and an iframe on the page the div has z-index: 0; the iframe has its content with ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 20, 2022 in Education by JackTerrance
0 votes
    I have a div and an iframe on the page the div has z-index: 0; the iframe has its content with ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 20, 2022 in Education by JackTerrance
...