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:
Henrik Giesel 2021-04-15 16:44:07 +02:00
parent b0885ef0cd
commit 304a7f2f77
2 changed files with 1 additions and 4 deletions

View file

@ -6,9 +6,6 @@ anki-editable {
overflow: auto;
padding: 6px;
/* Fit bootstraps .rounded */
border-radius: 0.25rem;
&:empty::after {
content: "\a";
white-space: pre;

View file

@ -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");