Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
27 views

How to use an injected string as part of the path in a URL within CSS (in Angular)

I have a library that allows you to inject a base-href value for your specific app so that the lib's assets (which you're hosting as an npm dependency in your app) can be accessed without a proxy. ...
Ethan G's user avatar
  • 1,363
0 votes
0 answers
15 views

Share sass variables from app to lib in nx

I'm in the process of migrating my project to an Nx monorepo setup. My workspace consists of multiple applications, each with its own distinct theme, and several shared UI libraries that rely on SASS ...
Awantha Irushan's user avatar
0 votes
0 answers
16 views

Flexbox with wrapped text leaves undesired empty horizontal space [duplicate]

I'm trying to create a printable dynamic HTML form but I cannot arrange the questions and answers on the page the way I want. I have a flex container for a pair of question and answer and I expect the ...
SepSol's user avatar
  • 113
0 votes
0 answers
34 views

Angular, Calculate width, center and offset for a div according to other divs

I'm working on an Angular 13 app which has an option to see an org chart Here's the expected result The problem is that I have no Idea how to create those curvy lines that connects the parent node ...
Sergio Mendez's user avatar
3 votes
0 answers
52 views

How to apply secondary or tertiary colors to Angular Material components with M3 theme?

I am currently discovering Angular Material v18+ with the M3 theming specification. Using the following schematic that I found in the documentation, I have generated a custom theme including custom ...
Joel Müller's user avatar
0 votes
1 answer
29 views

How to generate a bootstrap grid column overlay with SCSS?

I'm using bootstrap's 12-column grid layout and I'd like to make a "development helper" that overlays the grid columns & gutters so we can visualize the grid to help the non-developers ...
Chris Barr's user avatar
  • 33.4k
0 votes
0 answers
23 views

Sass override with rollup

I have two scss files fileA: body { background-color: pink; } fileB: body { background-color: green; } these two files are importet in my JS file: import './fileA.scss'; import './fileB.scss' ...
Pukka's user avatar
  • 140
1 vote
1 answer
27 views

Can the child of mat-dialog-content have height: 100%?

Here's a demo of the problem: https://stackblitz.com/edit/stackblitz-starters-tdxfuc?file=src%2Fapp%2Fapp.component.ts When the contents inside mat-dialog-content are too tall, I want to be able to ...
Tovar's user avatar
  • 423
0 votes
0 answers
12 views

scssTask Errored during Gulp-Sass execution

I'm just starting out with Gulp via VS Code but I can't seem to get it working. Here is my Gulp file: // Initialize modules const { src, dest, watch, series } = require('gulp'); const sass = require('...
arabella turner's user avatar
0 votes
1 answer
34 views

Setup css modules with rspack using Nx monorepo and react

I'm trying to setup Rspack inside a Nx monorepo that uses React, module federation, Typescript support and css modules using scss. I got almost everything done except for the last part. The css ...
bbasmer's user avatar
  • 137
0 votes
0 answers
17 views

Config webpack to use scss module in ReactJS

// src/Button.js import React from "react"; import styles from "./Button.module.scss"; // Import SCSS module const Button = () => { console.log("styles", styles); ...
Tuan Huynh's user avatar
0 votes
0 answers
576 views

Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0

Hello everyone Why does the error "Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0." occur? I have searched for an answer in other help requests, ...
Dmitriy's user avatar
0 votes
0 answers
30 views

How to apply classes to the checkboxes that are rendered in a buefy b-table when checkable is set to true?

I have a buefy b-table component and I'm trying to style the checkboxes to match the rest of my project by applying classes to them. Since I am not actually creating/rendering the element, how do I ...
user456's user avatar
0 votes
1 answer
26 views

I'm having trouble compressing css and js files with gulp [closed]

The files are coming out minified, but Google blames the files for weight and says to compress them using gzip. But I don't know how to use gzip in html. I need help on how to compress these files ...
Gabriel Edu's user avatar
17 votes
5 answers
10k views

The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0

I was using create-react-app before and now I switched the same project to vite and everything working fine except I am getting a warning log as follows Deprecation [legacy-js-api]: The legacy JS API ...
Muhammed Ali Jouhar A's user avatar

15 30 50 per page
1
2 3 4 5
1844