diff --git a/src/components/ElementPopup.vue b/src/components/ElementPopup.vue
index 984ecc1..b0440fe 100644
--- a/src/components/ElementPopup.vue
+++ b/src/components/ElementPopup.vue
@@ -23,7 +23,11 @@
Aucun style éditable
@@ -32,11 +36,6 @@
@@ -157,21 +166,22 @@ defineExpose({ handleIframeClick });
.popup-css {
flex: 1;
- padding: 0.75rem;
background: #1e1e1e;
- max-height: 200px;
- overflow-y: auto;
+ display: flex;
}
-.popup-css pre {
- margin: 0;
+.popup-css textarea {
+ width: 100%;
+ height: 200px;
+ background: #1e1e1e;
+ color: #abb2bf;
+ border: none;
+ padding: 0.75rem;
+ font-family: 'Courier New', Courier, monospace;
font-size: 0.75rem;
line-height: 1.4;
-}
-
-.popup-css code {
- background: transparent;
- color: #fff;
+ resize: none;
+ outline: none;
}
.control {
diff --git a/src/components/StylesheetViewer.vue b/src/components/StylesheetViewer.vue
index a0dbcf9..4e1bcd0 100644
--- a/src/components/StylesheetViewer.vue
+++ b/src/components/StylesheetViewer.vue
@@ -1,26 +1,31 @@