6,059 questions
0
votes
1
answer
40
views
transition on bootstrap column width is sluggish
i want to apply transition on bootstrap columns width when open state changes, the transition works but it's sluggish, it's not smooth at all
layout.js
"use client";
import { useState } from ...
0
votes
0
answers
25
views
Content with "white-space: nowrap" increases the element width [duplicate]
Imagine I have a card with width: auto, growing horizontally with its body content until it reaches a certain max-width. This card have a one-line title that should be clipped and display an ellipsis ...
3
votes
1
answer
116
views
How to set the width of boxplots with custom quantiles?
For these boxplots with custom y quantiles and centered on the medians x_q50, how to set their width based on given x quantiles (e.g. based on x_min and x_max, or x_q025 and x_q975...), while having ...
-1
votes
1
answer
77
views
Why can max-width: min(100%, 30em) make the container take up all available space, depending on the size of its contents? [closed]
I was trying to be smart and applied max-width: min(100%, 30em); to my elements that contain text. The result is that under some circumstances, the container of such an element takes up all horizontal ...
-1
votes
1
answer
69
views
How to have a summary-like textbox [closed]
I want to have a textbox with the following logic:
Meaning, some text and the dots until reaching a predetermined width and a number. I am aware that since I am not using a monospaced character the ...
0
votes
0
answers
31
views
How do I appropriately size images when using bootstrap?
I am inserting a picture into a bootstrap carousel; but the image is too zoomed in. I have attached a picture of the original image and the output on my screen.Original imageCentered imageimage with ...
0
votes
0
answers
38
views
Ant Table fixed column width
The column width is not set via the width property.
If you set the width of the cells, the column will still stretch if the table container is enlarged.
Can you tell me, has anyone come across such a ...
0
votes
0
answers
34
views
How to Fix Width and Height Not Applying in Login Modal?
The modal in the first code block is the same as LoginModal, but even though I specified the width and height in LoginModal (as shown in the second code block), the width and height are not being ...
0
votes
2
answers
803
views
How do I modify the width of the password component in PrimeVue?
I am trying to override the default width of the Password component in PrimeVue but it didn't work.
**I have attempted to override the width using the following CSS:
**
.p-password-input {
width: 100%
...
0
votes
2
answers
115
views
How To Make All Flex Items The Same Length As The One With Longest Text With No Text Wrap
I am trying to make all sibling flex items the same width as the one with the longest text, without making its text wrap. So if an item has the text "First" and another one has much longer ...
0
votes
1
answer
50
views
Overflow hidden and parent width transition
Here is the fiddle with the best i could achieve regarding my problem: https://jsfiddle.net/langocha/rofyxbhq/
When i hover the yellow box, i want a message to get out by the right side of it and ...
0
votes
1
answer
41
views
Flutter AlertDialog Container minimum width size controll
Hello mates
i was making instagram colon app with flutter and i wanted to making this pop up page but when i tried to make container size less than 100, it wasn't work and i couldn't find the way can ...
0
votes
0
answers
56
views
Why `geom_arc_bar()` width is not uniform ? How to make it the same width everywhere?
From this dataset:
data <- data.frame("type" = c("low_carbon", "high_carbon"),
"start" = c(0, 0.7 * pi),
"...
1
vote
1
answer
662
views
Does TailwindCSS support ch units of measurement?
New to Tailwind and re-writing a site but in my Styled Components file I'm declaring a ch unit of 50, example:
const Foobar = styled.div`
max-width: 50ch;
`
when researching the documentation I don'...
-1
votes
1
answer
44
views
How to make a flexbox container auto-width and centered with buttons aligned next to each other?
Im using the following code, but the container is still full width
I'd like it to adapt to the width of its contents
.cta-primary {
display: flex;
justify-content: center;
align-items: ...
-1
votes
2
answers
51
views
Quarto 20:60:20 html layout on multiple screens
I am unable to achieve a reasonable layout of quarto html output. On wide screens there are 2 extra spaces left/right on top of standard sidebar / margin, and I am loosing TOC when playing with column-...
0
votes
0
answers
19
views
Navigation bar won't fit entirely on the screen
navigation bar problem
I'm having trouble regarding my navigation bar because it won't fit entirely on my screen when i'm decreasing the screen width when inspecting. What should I do?
I already tried ...
0
votes
1
answer
110
views
PyQtGraph: Retrieve size of GLTextItem
I'm using pyqtgraph to plot radar data (in 2D and 3D) using a GLViewWidget. Adding and visualizing the data in 2D and 3D works well.
I also added text labels using GLTextItem, but they are a bit ...
0
votes
1
answer
67
views
Flutter set Smallest Width DP
I want my app to have the same look and feel with regards to the font sizes and space occupied by my widgets. Currently, in different phones with different smallest width and varying DP, the font ...
0
votes
3
answers
55
views
How can i fix my CSS so that width accounts for both padding and border?
To put it simply, i want my sidebar here to be 20% of the width of the page, while the article itself is 80%. Because of the padding in my different sections, the width is offset, meaning i have to ...
0
votes
1
answer
382
views
Dynamically set column width on page in Business Central
For some background, I'm a junior Business Central AL developer with not much experience. I am hoping to find some help with the syntax of what I'm trying to accomplish.
Situation:
I have several ...
-1
votes
2
answers
864
views
How can I set the width of a Bootstrap 4 toast?
I have a page with a Bootstrap 4 toast where I set the toast's postion as postion: fixed. The whole toast part looks like this:
<div class="container mt-5">
<button type="...
1
vote
1
answer
58
views
Why is the width of my webpage exceeding the device width
I'm encountering an issue with building a responsive webpage. When testing the page's responsiveness, the width extends beyond the device's width for some reason.
I've tried removing various parts of ...
1
vote
1
answer
261
views
How to control the width of bar charts in chartjs?
The bars in my bar chart using chartsjs are too wide. How can i make them thinner?
Here is my code
<body>
<div class="chart-container" style="position: relative; height:40vh; ...
1
vote
1
answer
93
views
How to increase error bar width using stat_summary (ggplot2) in R
I'm following this tutorial to plot a stripchart with error bars, but I'm being unable to control bar width.
# Convert the variable dose from a numeric to a factor variable
ToothGrowth$dose <- as....