From c0ce281230cc41aaa3e3f3dde16d480b1a5cb744 Mon Sep 17 00:00:00 2001 From: MB Date: Mon, 20 Feb 2023 18:21:19 +0000 Subject: [PATCH] Workaround for duplicated move repitems Added a workaround to hide duplicated repitems of the moves repeating section. --- PokemonTabletopUnited/ptu.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/PokemonTabletopUnited/ptu.css b/PokemonTabletopUnited/ptu.css index 70354331d1..c47e652e2f 100644 --- a/PokemonTabletopUnited/ptu.css +++ b/PokemonTabletopUnited/ptu.css @@ -1,10 +1,14 @@ +input.sheet-oldtab .charsheet .repitem.repitembroken { + display: none; +} /* Ugly workaround for duplicated move repitems */ + input[type='number']::-webkit-outer-spin-button, input[type='number']::-webkit-inner-spin-button, input[type='number'] { -webkit-appearance: none; -moz-appearance: textfield !important; margin: 0; - } /*Remove arrows from numerical boxes */ + } /* Remove arrows from numerical boxes */ input.sheet-oldtab1:not(:checked) ~ .sheet-oldtab1, input.sheet-oldtab2:not(:checked) ~ .sheet-oldtab2, @@ -29,7 +33,7 @@ input.sheet-oldtab { position: relative; cursor: pointer; z-index: 1; - -moz-appearance:initial; /* Allows ::before for Firefox Browsers */ + appearance:none; /* Allows ::before for Firefox Browsers */ } .ui-dialog .charsheet input.sheet-oldtab {