You may be running these applications in XWayland, which is still somewhat odd looking on KDE for some reason. Probably Plasma 6 will address this. In the meanwhile, check out the suggestions in this thread:
Setting MOZ_ENABLE_WAYLAND=1 in /etc/environment should help with the browser at least. Iām not sure about the Discord app.