Comments (3)
A handy CSS feature I've found useful situations like these where I can't rely on consistent class names or styles is the CSS attribute selector.
class
can be used with attribute selectors just like any other attribute, so you can target just the first "word" or two in the class name that gets you what you want, dropping the random hash at the end. This can be done with the substring modifier, noted by *
in the selector.
For example, in your CSS:
.Layout_Container__2Hv3J
would instead be:
[class*="Layout_Container"]
You can select elements with specific href
values in a similar way. By selecting without *
you can select elements with exactly the value in the selector, if you wanted to target just /applications
and not, say, /applications-old
(if that existed):
a[href="/applications"]
MDN has a great guide to CSS attribute selectors here:
https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors
That said, it would be ideal to have major, consistent CSS classes available for styling without needing to work around the lack of them haha.
from flame.
Hey guys, sorry for the noob question but I legit do not know and have been looking for myself for a while now... Where can we find what the new names are for 2.3.1? I'd like to update my css so it at least works in the meantime. Thx in advance!
from flame.
Hey guys, sorry for the noob question but I legit do not know and have been looking for myself for a while now... Where can we find what the new names are for 2.3.1? I'd like to update my css so it at least works in the meantime. Thx in advance!
Using Chrome, right click on the page -> Inspect. Look around and you should find the names.
from flame.
Related Issues (20)
- bookmark grid
- Possibility to use local icons HOT 1
- Other forms of auth possible?
- [FEATURE REQUEST] NixOS package / `services.flame` options
- Lost all settings after a server restart
- [FEATURE REQUEST] ChatGPT Search Box
- [FEATURE REQUEST] Tooltips for Applications and Bookmarks
- [Suggestion] Install on low resources virtual machine / LXC container
- [FEATURE REQUEST] Support Multi Instanced Server Configuration
- [BUG] Numerals in prefix break Custom Search
- [FEATURE REQUEST] Inactive containers in transparency
- [Feature Request] Note field
- [BUG] Bookmarks don't save
- [FEATURE REQUEST] Add support for Kubernetes Gateway API (such as HTTPRoute)
- When filling out application if unexpected input occurs then it starts crashing the entire docker container even on restart
- class names
- [BUG] Support for more Kubernetes ingress annotations
- question: how to hide "settings" in shared environment
- Question: Focus on browser address bar when Flame set to default homepage
- Greeting is not reflecting properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flame.