1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

PM-27366 drop scss and convert to vanilla css (#17046)

This commit is contained in:
Daniel Riera
2025-10-28 14:47:49 -04:00
committed by GitHub
parent 185c912c62
commit fe26826369
2 changed files with 7 additions and 12 deletions

View File

@@ -1,10 +1,7 @@
import { AutofillOverlayElement } from "../../../../enums/autofill-overlay.enum"; import { AutofillOverlayElement } from "../../../../enums/autofill-overlay.enum";
import { AutofillInlineMenuButton } from "./autofill-inline-menu-button"; import { AutofillInlineMenuButton } from "./autofill-inline-menu-button";
import "./button.css";
// FIXME: Remove when updating file. Eslint update
// eslint-disable-next-line @typescript-eslint/no-require-imports
require("./button.scss");
(function () { (function () {
globalThis.customElements.define(AutofillOverlayElement.Button, AutofillInlineMenuButton); globalThis.customElements.define(AutofillOverlayElement.Button, AutofillInlineMenuButton);

View File

@@ -1,5 +1,3 @@
@import "../../../../shared/styles/variables";
* { * {
box-sizing: border-box; box-sizing: border-box;
} }
@@ -27,10 +25,10 @@ autofill-inline-menu-button {
border: none; border: none;
background: transparent; background: transparent;
cursor: pointer; cursor: pointer;
}
.inline-menu-button-svg-icon {
display: block; .inline-menu-button .inline-menu-button-svg-icon {
width: 100%; display: block;
height: auto; width: 100%;
} height: auto;
} }