Quantcast
Browsing all 1307 articles
Browse latest View live

How to use angular flex-layout in angular 18

I have a large application built in Angular 17 that I've recently updated to Angular 18. Since the flex-layout packages do not officially support Angular 18, What can I do instead of overriding them to...

View Article


Adding flex to container causes child overflow-x to no longer work and it...

I have the following HTML:<div class="bg-gray-100 pb-4 h-full"><div class="w-[200px]"> sidebar</div><div><header class="bg-white p-6 font-bold text-3xl">...

View Article


Flex: 1 and Wrap not working inside grid? [duplicate]

I was trying to make container inside grid cell span to fill rest of space and let items inside wrap as needed but its expanding my table instead of behaving like it would behave outside the table. Any...

View Article

Image may be NSFW.
Clik here to view.

Bug? CSS Flexbox gap is applied between two inline text blocks due to an...

I am experiencing unexpected behavior with flexbox and the gap property. To my surprise when I "refresh" the DOM by removing the element and adding it back everything works as expected. This leads me...

View Article

Image may be NSFW.
Clik here to view.

Without media queries how to achieve 3 column desktop to 1 column mobile layout

Looked into a few questions here but they don't quite solve what I'm looking for.Say I have a website and I want. On desktop I want this:This is easy. grid-template-columns: repeat(3, 33%)...

View Article


Centering a justify-content space-between once it becomes a single column

I am trying to style a div that has two children, with flexbox and flex-wrap, without media-queries, that at a certain width is space-between, but once it is a single column is centered (as opposed to...

View Article

Image may be NSFW.
Clik here to view.

I am trying to show a collection grid using flexbox but I am not able to get...

I am trying to achieve following responsive layout using flexbox as show in below image..I tried few thing but is not getting the desired result.Each item in this design has a image and top of that I...

View Article

Image may be NSFW.
Clik here to view.

Why horizontal Flexbox gap is not working in x direction?

I am working on a dashboard project using Bootstrap 5.The horizontal gap (gx) is not functioning as expected.Could there be a reason why the gx class isn't applying the desired horizontal gap in this...

View Article


Setting vertical gaps between flex items

If this is our code, it creates 4 boxes in each row, with an equal vertical space between them , but there are two problems that I don't know how to fix:Boxes in the last row should be adjusted to the...

View Article


How to make TitleContent fixed/sticky position

I have this dialog in MudBlazor that has a vertical overflow because it is larger than the max-height. I would like to keep this max-height, the only thing I was wondering if possible is if the title...

View Article

JFlex Lexer Configuration Issue: Unexpected Character Error

I'm working on creating a lexer for a custom configuration file format using JFlex. However, I am encountering an issue with my .flex file and receiving an "Unexpected character" error during...

View Article

Image may be NSFW.
Clik here to view.

How to set column height equal to longest column in Bulma (flexbox)?

I'm using Bulma 0.4.0, though the answer may not be associated with Bulma itself.How can I set column height equal to others? (see screenshots below)Edit: codepen with more text that presents actual...

View Article

Image may be NSFW.
Clik here to view.

How to wrap text completely around a png object using CSS without canvas...

I need to wrap text around an object (from a png image) using CSS. The text should be wrapped just like how it is arranged in the attached image, not in a box or a defined shape. I have achieved the...

View Article


Angular Material and css Flex layout

I have a component within an angular material card. The component has two divs, the content and the footer both of which are wrapped in a container div.wrapper { display: flex; flex-direction: column;...

View Article

problem to position menu icon in the page mobile version

I want and I'm trying position the icon menu to her right edge to be equal to right edge of the image at the bottom. I don't know why, but this icon won't move :P. What's wrong? How can I fix this?...

View Article


React native, children of ScrollView wont fill full height

So I have a horizontal scrollview at the top of the view. The ScrollView contains nodes that have a specified width. I then have a border on the bottom of the ScrollView, like you can see in this...

View Article

How can I make a and content within the of my HTML split into left and right...

So I just began my programing journey, and in the course that I'm in, I just got tasked with fixing a broken website by myself without the course guidance. I was excited to test myself with what I had...

View Article


Responsive Design Challenges [closed]

What are the best ways to make sure a responsive design stays the same on different screen sizes? How can I deal with tricky situations well?I thought these methods would make things look the same on...

View Article

How does flex container understand his overflow? Could I get flex-wrap...

I need to implement overflow behavior (wrap or scroll for internal container in case of his overflow by children) but I can't. It's look like that internal container doesn't feel overflow... If I set...

View Article

Image may be NSFW.
Clik here to view.

Cart Items Container Not Scrolling Properly on Mobile [duplicate]

I’m working on a web layout where I need the .cart-items-container to occupy the remaining space above the .cart-rest-details section. The .cart-items-container should be scrollable if its content...

View Article
Browsing all 1307 articles
Browse latest View live