From 49ea6d6938084e068f6ce13bef58de8a8c709098 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 21 May 2020 11:13:35 -0400 Subject: [PATCH] Keep maxspeed field flexbox from overflowing --- css/80_app.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/css/80_app.css b/css/80_app.css index 2c4bbd1c4..803fcb06c 100644 --- a/css/80_app.css +++ b/css/80_app.css @@ -1842,15 +1842,20 @@ a.hide-toggle { /* Field - Maxspeed ------------------------------------------------------- */ +.form-field-input-maxspeed input.maxspeed-number { + flex-basis: 0; +} +.form-field-input-maxspeed input.maxspeed-unit { + flex: 0 1 auto; + width: 80px; +} .form-field-input-maxspeed > input:first-of-type { border-radius: 0 0 0 4px; } .ideditor[dir='rtl'] .form-field-input-maxspeed > input:first-of-type { border-radius: 0 0 4px 0; } -.form-field-input-maxspeed > input:last-of-type { /* unit field */ - flex: 0 1 80px; - width: 80px; +.form-field-input-maxspeed > input:last-of-type { border-left: 0; border-radius: 0 0 4px 0; }