#A more tabular approach? I'm not sure, I

1 messages · Page 1 of 1 (latest)

jolly surge
#

You're applying the border-radius to the icons too

ocean sundial
# jolly surge

remove the [class*="form_"] * {border-radius: inherit;} then its back to normal
i don't see any difference after deleting this

#

ah, wait.. i see it now

#

[class*="form_"] *:not(.buttons_ce5b56){border-radius: inherit;} this one removes the border-radius for the emojis

tardy bear
#

nice

next mist
#

caused by

.container__5c7e7, [class*="base_"], .container_b2ce9c {
  margin: 10px 0;
  border-radius: 16px;
}```
#

you can kind of fix it with

.container__5c7e7, [class*="base_"], .container_b2ce9c {
  border-radius: 16px;
}```
#

but no margins :(

#

oh lord

#

yeah the margin thing fucks so many stuff up

next mist
#

without margins

#

hell.

silent escarp
#

why does everyone blur their servers.

rotund wadi
tender token
#

any idea why its not padding the channel tab?

#

with discussions open also doenst pad the center one

coarse mantle
#

my theme basically does what you're trying to do:

rotund wadi
#

Thanks, I was currently fixing all the bugs

#

I'll look into that too :3

rotund wadi
rotund wadi
#

Fixed the memeber list as well

vast escarp
#

very nice

#

it does that tho

rotund wadi
pastel crown
jolly surge
#

you should be more specific when making selectors

#

and why is there 2 :not() here [class*="base_"]:not(.base__92a12):not(.base__76a71),?

rotund wadi
rotund wadi
rotund wadi
vast escarp
jolly surge
#

also please start using specific selectors

rotund wadi
jolly surge
#

every class requires it unless the class itself is already only used on only 1 element

rotund wadi
#

I've learnt from my mistakes

jolly surge
#

i can guarantee you this class is used by more than 1 or even couple elements

rotund wadi
jolly surge
#

you are NOT doing that tho?

#

that is from your snippet

rotund wadi
#

It is

jolly surge
#

yes

#

that is what i am saying

rotund wadi
#

I don't understand what you're trying to say

jolly surge
#

im sorry but i dont think you understand english

rotund wadi
rotund wadi
jolly surge
#

the id itself doesnt mean anything, it can still be used by multiple elements

#

its just the name of the class

rotund wadi
#

Yes the text after wrapper_ is what makes it special to mentions

jolly surge
#

no.

rotund wadi
#

Okay

#

So what are you trying to tell me to use?

#

I would like to know so that I can avoid my mistakes

#

Im generally curious

jolly surge
#

where did you find wrapper_f46140

#

what element has it

rotund wadi
#

@jolly surge

#

mentions

jolly surge
#

on servers?

rotund wadi
#

everywhere

#

these all will have a border radius of 8px rather than the 4px (iirc)

jolly surge
#

so just mentions in chat?

rotund wadi
#

yes

jolly surge
#

well for example you should use classes that are definitely only gonna be used for the thing you're targeting, the mention element has a class channelMention that's definitely not gonna be used by another element, but something like wrapper_f46140 isn't exclusively for mentions it's probably used by another element

jolly surge
rotund wadi
jolly surge
#

and also if you used the other class you wouldnt need a comment for it

rotund wadi
#

look into the css

jolly surge
#

so? you dont care about that just override it

rotund wadi
#

And I don't see any reason for me to favour one class over the other

jolly surge
#

its gonna go back to normal if you remove the rule

rotund wadi
#

channelMentions can also probably be used for other elements

#

such as replies

#

(im guessing)

#

why would discord use their generic class names for doing this specific task?

#

well I'm just speculating

#

thanks for your insights, I will improve myself

jolly surge
#

i've looked at the classes and you should probably use this selector .message__80c10 [class*=mention]

#

i havent looked thoroughly but this should be good enough

#

but in this case if you know the wrapper class isnt used anywhere else in the chat you could use this .message__80c10 .wrapper_f46140

jolly surge
#

use a parent class to make sure you only target that class inside of where you want

rotund wadi
indigo yarrow
#

@rotund wadi Is there a way to fix this?

#

It causes buttons to have this werid effect on them

rotund wadi
rotund wadi
warm coral
#

how come these arent rounded for me?