mirror of
https://github.com/bitwarden/browser
synced 2026-02-12 14:34:02 +00:00
update docs
This commit is contained in:
@@ -29,9 +29,9 @@ following example, the paragraph's padding is reduced when compact mode is enabl
|
||||
<p class="tw-bg-primary-100 tw-p-4 bit-compact:tw-p-0.5">Lorem impsum doggo dolor...</p>
|
||||
</div>
|
||||
|
||||
## Settings Service
|
||||
## Service
|
||||
|
||||
To get/set compact mode in TypeScript, the `BitSettingsService` exposes a `compactMode` signal.
|
||||
To get/set compact mode in TypeScript, the `DesignSystemService` exposes a `compactMode` signal.
|
||||
However, using the Tailwind variant should be preferred as it is more performant.
|
||||
|
||||
## Examples
|
||||
|
||||
Reference in New Issue
Block a user