diff --git a/frontend/src/views/OilReference.vue b/frontend/src/views/OilReference.vue index 7a98caa..d54d8a4 100644 --- a/frontend/src/views/OilReference.vue +++ b/frontend/src/views/OilReference.vue @@ -90,15 +90,19 @@
- @@ -1245,6 +1249,28 @@ async function saveCardImage(name) { text-decoration: line-through; white-space: nowrap; } +/* Desktop: show text buttons, hide icon buttons */ +.toolbar-btn-text { + padding: 7px 14px; + border-radius: 8px; + font-size: 12px; + cursor: pointer; + font-family: inherit; + border: 1.5px solid var(--sage); + background: white; + color: var(--sage-dark); + white-space: nowrap; +} +.toolbar-btn-text:hover { background: var(--sage-mist); } +.toolbar-btn-icon { + display: none; + background: none; + border: none; + font-size: 18px; + cursor: pointer; + padding: 4px; +} + @media (max-width: 480px) { .oil-name-line { font-size: 13px; } .oil-en-line { font-size: 9px; } @@ -1252,6 +1278,8 @@ async function saveCardImage(name) { .oil-retail-line { font-size: 10px; } .oils-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; } .oil-chip { padding: 10px 12px; } + .toolbar-btn-text { display: none; } + .toolbar-btn-icon { display: inline-block; } } .oil-chip-actions {