mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
Make fields square again
This was an experiment, to adjust the field border-radius to the buttons, but I think it looks cleaner if the fields are square
This commit is contained in:
parent
b0885ef0cd
commit
304a7f2f77
2 changed files with 1 additions and 4 deletions
|
@ -6,9 +6,6 @@ anki-editable {
|
|||
overflow: auto;
|
||||
padding: 6px;
|
||||
|
||||
/* Fit bootstraps .rounded */
|
||||
border-radius: 0.25rem;
|
||||
|
||||
&:empty::after {
|
||||
content: "\a";
|
||||
white-space: pre;
|
||||
|
|
|
@ -23,7 +23,7 @@ export class EditingArea extends HTMLDivElement {
|
|||
constructor() {
|
||||
super();
|
||||
this.attachShadow({ mode: "open" });
|
||||
this.className = "field rounded";
|
||||
this.className = "field";
|
||||
|
||||
const rootStyle = document.createElement("link");
|
||||
rootStyle.setAttribute("rel", "stylesheet");
|
||||
|
|
Loading…
Reference in a new issue