Geometrically cd2f2d42a3
Try CarbonAds (#629)
* Try CarbonAds

* Move location

* add border, fix adblock msg

* Fix advertisement label look (#636)

Ever since changes for Carbon ads were introduced, the label did not
match the appearance of the card, leaving the bottom right corner of the
card not round. With more recent changes, where border was added, that
became even more apparent - now the border covers the label, which does
not look good; this effect only becomes worse when zooming.

This commit attempts to mitigate these issues with the following:

- To fix the border issues, label's absolute position is now calculated
  from the card wrapper, where the border is applied. This allows label
  to cover the border for seamless look. That is done by changing
  position of the card wrapper to relative instead of doing so for the
  ad contents container.

- The label now tries to take over the border, to do so the bottom and
  right relative positions have been changed to -3px.

- To account for the position change, the label is now a bit more
  padded, to make text content of it to look more or less as before,
  otherwise it would shift a bit. Not sure if the padding changes are
  accurate, but it does look close to how it looked before.

* Fix message again

* Update user ads position

* Remove privacy toggles (placebo and didn't do anything)

* Remove other code

* Link docs page

Co-authored-by: Sasha Sorokin <10401817+Brawaru@users.noreply.github.com>
2022-09-08 17:33:13 -07:00
2020-11-30 14:55:01 -07:00
2022-08-14 12:42:58 -07:00
2022-09-08 17:33:13 -07:00
2022-09-08 17:33:13 -07:00
2022-09-08 17:33:13 -07:00
2022-09-08 17:33:13 -07:00
2022-09-08 17:33:13 -07:00
2022-08-14 12:42:58 -07:00
2022-09-08 17:33:13 -07:00
2020-09-01 09:08:35 -07:00
2020-07-14 16:42:46 +03:00
2020-11-30 14:55:01 -07:00
2022-02-16 17:39:48 -07:00
2020-07-14 16:42:46 +03:00
2020-07-01 11:15:45 +03:00
2022-09-08 17:33:13 -07:00
2022-04-18 10:54:15 -07:00

knossos banner

Modrinth's center for its frontend service

For contributing information, please see the knossos section of the Modrinth contributing guide.

For a detailed explanation on how things work in general, check out the Nuxt.js docs.

Description
The Modrinth monorepo containing all code which powers Modrinth!
Readme 122 MiB
Languages
Rust 44.6%
Vue 38.6%
TypeScript 8.2%
HTML 5.1%
JavaScript 1.9%
Other 1.5%