striven-editor

Maintained and contributed to an open source WYSIWYG editor as an internship project that made it to production and was adopted by the company I was working at.
git clone https://unitehenry.com/git/striven-editor.git
Log | Files | Refs | README | LICENSE

commit 1a5d82dbfc674bd4adb00aea9f3b4f508c0b2bc3
parent 460afd8342b00692f9fa02aff704a72689e600d8
Author: Federico Babrauskas <fedebabrauskas@gmail.com>
Date:   Wed, 23 Oct 2019 11:37:28 -0300

Changed file title element and font-size

Diffstat:
Msrc/striveneditor.css | 6+++++-
Msrc/striveneditor.js | 2+-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/striveneditor.css b/src/striveneditor.css @@ -90,11 +90,15 @@ position: relative; } -.Striven-Editor .file-name-el { +.Striven-Editor p.file-name-el { font-weight: bold; margin: 0; } +.Striven-Editor p.file-name-el { + font-size: 16px; +} + .Striven-Editor .file-size-el { font-size: 12px; margin: 2px 0; diff --git a/src/striveneditor.js b/src/striveneditor.js @@ -883,7 +883,7 @@ export default class StrivenEditor { createFileElement(name, size) { const fileEl = document.createElement("div"); - const fileNameEl = document.createElement("h4"); + const fileNameEl = document.createElement("p"); const fileSizeEl = document.createElement("p"); const removeFileEl = document.createElement("p");