From 304a7f2f776821108074ca11543c472ff5ef60d5 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Thu, 15 Apr 2021 16:44:07 +0200 Subject: [PATCH] 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 --- ts/editor/editable.scss | 3 --- ts/editor/editingArea.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ts/editor/editable.scss b/ts/editor/editable.scss index 8a2e9e374..9cd7186f3 100644 --- a/ts/editor/editable.scss +++ b/ts/editor/editable.scss @@ -6,9 +6,6 @@ anki-editable { overflow: auto; padding: 6px; - /* Fit bootstraps .rounded */ - border-radius: 0.25rem; - &:empty::after { content: "\a"; white-space: pre; diff --git a/ts/editor/editingArea.ts b/ts/editor/editingArea.ts index e522bb8ef..5002ba817 100644 --- a/ts/editor/editingArea.ts +++ b/ts/editor/editingArea.ts @@ -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");